| java.lang.Object org.millstone.webadapter.WebBrowserProbe
WebBrowserProbe | public class WebBrowserProbe (Code) | | The WebBrowserProbe uses JavaScript to determine the capabilities
of the client browser.
author: IT Mill Ltd. version: 3.1.1 since: 3.0 |
getTerminalType | public static WebBrowser getTerminalType(HttpSession session)(Code) | | Return the terminal type from the given session.
WebBrowser instance for the given session. |
handleProbeRequest | public static boolean handleProbeRequest(HttpServletRequest request, Map parameters) throws ServletException(Code) | | Handle client checking.
Parameters: request - The HTTP request to process. Parameters: response - HTTP response to write to. true if response should include a probe script |
probe | public static WebBrowser probe(String agent)(Code) | | Determine versions based on user agent string.
Parameters: agent - HTTP User-Agent request header. new WebBrowser instance initialized based on agent features. |
probe | public static WebBrowser probe(WebBrowser browser, HttpServletRequest request, Map params)(Code) | | Create new instance of WebBrowser by initializing the values
based on user request.
Parameters: browser - The browser to be updated. If null a new instance is created. Parameters: request - Request to be used as defaults. Parameters: params - Parameters to be used as defaults. new WebBrowser instance initialized based on request parameters. |
setTerminalType | public static void setTerminalType(HttpSession session, WebBrowser terminal)(Code) | | Set the terminal type for the given session.
WebBrowser instance for the given session. |
|
|