|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iplanet.am.util.AMClientDetector
This is an utility to get the client type. This utility executes Client Detection Class provided in Client Detection Module Service and gets the client type. Default client type will be returned if there is no Client Detection Implementation provided
Constructor Summary | |
AMClientDetector()
Constructs a AMClientDetector instance. |
|
AMClientDetector(ClientDetectionInterface cd)
Application provide custom detection class. |
|
AMClientDetector(java.lang.String className)
Applications can provide client detector implementation class |
Method Summary | |
java.lang.String |
detectionEnabled()
Return the client detection enabled/disabled |
java.lang.String |
getClientType(javax.servlet.http.HttpServletRequest request)
Returns the client type by executing client detector class provided in Client Detection Service. |
static ClientTypesManager |
getClientTypesManagerInstance()
Returns the ClientTypesManager Instance. |
static boolean |
isServicePassed()
Returns true if the client detection service is present or false if the client detection service is not present and the client attributes could not be retrieved. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AMClientDetector()
AMClientDetector
instance.
public AMClientDetector(java.lang.String className)
className
- the name of the implementation classpublic AMClientDetector(ClientDetectionInterface cd)
cd
- class that implements ClientDetectionInterface
.Method Detail |
public java.lang.String getClientType(javax.servlet.http.HttpServletRequest request)
request
- HTTP Servlet Request.
cdm
service. If it throws
any exception by executing this class, this method
will just return null .public java.lang.String detectionEnabled()
public static ClientTypesManager getClientTypesManagerInstance()
ClientTypesManager
Instance.
ClientTypesManager
Instance.public static boolean isServicePassed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |