|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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. This utility will instantiate the client detection default implementation specified in the client detection service schema. If the value is not specified then will default to the default client detector implementation.
Constructor Summary | |
AMClientDetector()
AMClientDetector constructor |
|
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(HttpServletRequest request)
Gets the client type by executing client detector class provided in Client Detection Service |
static ClientTypesManager |
getClientTypesManagerInstance()
Return the ClientTypesManager Instance |
static boolean |
isServicePassed()
Returns true if the ClientDetection service is present or false if the ClientDetection 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()
public AMClientDetector(java.lang.String className)
className
- the name of the implementation classpublic AMClientDetector(ClientDetectionInterface cd)
class
- that implements ClientDetectionInterfaceMethod Detail |
public java.lang.String getClientType(HttpServletRequest request)
request
- HttpServletRequestpublic java.lang.String detectionEnabled()
public static ClientTypesManager getClientTypesManagerInstance()
public static boolean isServicePassed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |