com.sas.servlet.util
Class ClientInfo

java.lang.Object
  |
  +--com.sas.servlet.util.ClientInfo

public class ClientInfo
extends Object

Bean to access Client Information from with JSP tags


Constructor Summary
ClientInfo(com.sas.servlet.util.HttpServletRequest request)
          Constructs a new ClientInfo object
 
Method Summary
 String getBrowserType()
          Gets the browser type
 String getBrowserVersion()
          Gets the browser version
 String getUserAgent()
          Gets the browser type
 boolean isInternetExplorer()
          Determines if the browser is Internet Explorer
 boolean isNetscape()
          Determines if the browser is Netscape
 boolean isUP()
           
 boolean isWML()
          Determines if the browser supports WML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInfo

public ClientInfo(com.sas.servlet.util.HttpServletRequest request)
Constructs a new ClientInfo object
Parameters:
request - The request object holds information about the client
Method Detail

getBrowserType

public String getBrowserType()
Gets the browser type
Returns:
The browser type

getBrowserVersion

public String getBrowserVersion()
Gets the browser version
Returns:
The browser version

getUserAgent

public String getUserAgent()
Gets the browser type
Returns:
The browser type

isInternetExplorer

public boolean isInternetExplorer()
Determines if the browser is Internet Explorer
Returns:
true if the browser is Internet Explorer

isNetscape

public boolean isNetscape()
Determines if the browser is Netscape
Returns:
true if the browser is Netscape

isUP

public boolean isUP()

isWML

public boolean isWML()
Determines if the browser supports WML
Returns:
true if the browser supports WML


Version: 1.2.20000317.001 Formatted: 2000/07/06 15:57:33PM