public class BrowserBean extends Object implements IBrowserBean, Serializable
id, SPECIFIC_OS, SPECIFIC_TYPE, TYPE_IE, TYPE_IE4, TYPE_IE4MAC, TYPE_IE4UNIX, TYPE_IE4WIN, TYPE_IE5, TYPE_IE55, TYPE_IE55MAC, TYPE_IE55UNIX, TYPE_IE55WIN, TYPE_IE5MAC, TYPE_IE5UNIX, TYPE_IE5WIN, TYPE_IE6, TYPE_IE6MAC, TYPE_IE6UNIX, TYPE_IE6WIN, TYPE_IE7, TYPE_IE7MAC, TYPE_IE7UNIX, TYPE_IE7WIN, TYPE_MAC, TYPE_NS, TYPE_NS4, TYPE_NS4MAC, TYPE_NS4UNIX, TYPE_NS4WIN, TYPE_NS6, TYPE_NS6MAC, TYPE_NS6UNIX, TYPE_NS6WIN, TYPE_OTHER, TYPE_UNIX, TYPE_WIN
Modifier and Type | Method and Description |
---|---|
static IBrowserBean |
getBean(HttpServletRequest request)
Deprecated.
|
String |
getClientOS()
Deprecated.
Gets the generic OS of the browser.
|
String |
getSessionState()
Deprecated.
Returns persisted session state in string form.
|
String |
getType()
Deprecated.
Gets the specific type of the browser.
|
boolean |
isType(String type)
Deprecated.
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.
|
void |
setClientOS(String clientOs)
Deprecated.
Sets the specific OS of the browser.
|
void |
setType(String type)
Deprecated.
Sets the specific type of the browser.
|
void |
setUserAgent(String agent)
Deprecated.
Set the agent, which in turn sets the browser's type.
|
public static IBrowserBean getBean(HttpServletRequest request)
IPresentationManager.getBrowserBean(HttpServletRequest)
insteadpublic void setUserAgent(String agent)
IBrowserBean
setUserAgent
in interface IBrowserBean
public boolean isType(String type)
IBrowserBean
isType
in interface IBrowserBean
public String getType()
IBrowserBean
IBrowserBean.isType(java.lang.String)
to test to see if the browser is part of
a more generic type than the specific type.getType
in interface IBrowserBean
public void setType(String type)
IBrowserBean
setType
in interface IBrowserBean
public String getClientOS()
IBrowserBean
getClientOS
in interface IBrowserBean
public void setClientOS(String clientOs)
IBrowserBean
setClientOS
in interface IBrowserBean
public String getSessionState()
IBrowserBean
getSessionState
in interface IBrowserBean