| |
|
| java.lang.Object org.jasig.portal.BrowserInfo
BrowserInfo | public class BrowserInfo (Code) | | |
BrowserInfo | public BrowserInfo()(Code) | | Constructs a new empty browser info
|
BrowserInfo | public BrowserInfo(Cookie[] cookies, Map headers)(Code) | | Constructs a new browser info with supplied cookies and header info
Parameters: cookies - an array of cookies Parameters: headers - a Map of headers |
BrowserInfo | public BrowserInfo(HttpServletRequest req)(Code) | | Construct a new browser info based on HTTP request.
Parameters: req - a HttpServletRequest value |
getHeader | public String getHeader(String hName)(Code) | | Get value of a particular header.
Parameters: hName - a String value a String value |
getHeaders | public Map getHeaders()(Code) | | Get the headers as a Map.
a map of headers |
getUserAgent | public String getUserAgent()(Code) | | Obtain a "user-agent" header contained in the request.
a String value |
setHeaders | public void setHeaders(Map headers)(Code) | | Sets the headers.
Parameters: headers - a Map of headers |
toString | public String toString()(Code) | | Overrides Object's toString(). The string form of this object is
sometimes used to generate a key for caching objects in the portal.
state the state of this object in string form |
|
|
|