Class BrowserBean

java.lang.Object
com.webmethods.portal.framework.session.BrowserBean
All Implemented Interfaces:
IBrowserBean, Serializable

public class BrowserBean extends Object implements IBrowserBean, Serializable
Provided for backward compatibility
See Also:
  • Method Details

    • getBean

      public static IBrowserBean getBean(HttpServletRequest request)
      This helper function returns BrowserBean bean instance for specified request's session If bean was not found it will be created on the base of the request header information. So this function will not return NULL
    • setUserAgent

      public void setUserAgent(String agent)
      Deprecated.
      Description copied from interface: IBrowserBean
      Set the agent, which in turn sets the browser's type.
      Specified by:
      setUserAgent in interface IBrowserBean
    • isType

      public boolean isType(String type)
      Deprecated.
      Description copied from interface: IBrowserBean
      Returns true if the browser's type is the specified type, or if the browser's type is a more specific type of the specifed type. For example, this method will return true if the browser's type is type_ie5win, but the specified type is just type_ie.
      Specified by:
      isType in interface IBrowserBean
    • getType

      public String getType()
      Deprecated.
      Description copied from interface: IBrowserBean
      Gets the specific type of the browser. Use IBrowserBean.isType(java.lang.String) to test to see if the browser is part of a more generic type than the specific type.
      Specified by:
      getType in interface IBrowserBean
    • setType

      public void setType(String type)
      Deprecated.
      Description copied from interface: IBrowserBean
      Sets the specific type of the browser.
      Specified by:
      setType in interface IBrowserBean
    • getClientOS

      public String getClientOS()
      Deprecated.
      Description copied from interface: IBrowserBean
      Gets the generic OS of the browser.
      Specified by:
      getClientOS in interface IBrowserBean
    • setClientOS

      public void setClientOS(String clientOs)
      Deprecated.
      Description copied from interface: IBrowserBean
      Sets the specific OS of the browser.
      Specified by:
      setClientOS in interface IBrowserBean
    • getSessionState

      public String getSessionState()
      Deprecated.
      Description copied from interface: IBrowserBean
      Returns persisted session state in string form.
      Specified by:
      getSessionState in interface IBrowserBean