|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.common.context.UserTerminal
Title: OpenMobileIS project source
Description: Synchro client plugin description.
The description is build with the request User-Agent information.
OpenMIS synchro client has a specific User-Agent encoding to get
Client terminal informations. This class implements the User-Agent decoding.
Use to get information on the client configuration.
If the client isn't an OpenMIS client the user agent is not decoded and only the getClientPlateformString()
method will return the user agent. Other method will return null.
Use isOPenMISClient() to see if it's an OpenMIS client.
Field Summary | |
static int |
SYNCHRO_TYPE_DIRECT
|
static int |
SYNCHRO_TYPE_INDIRECT
|
Constructor Summary | |
UserTerminal(java.lang.String browserUserAgent)
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getClientLanguage()
|
java.lang.String |
getClientOS()
|
java.lang.String |
getClientOSVersion()
|
java.lang.String |
getClientPlateformType()
return the general plateform type of the client PALMOS or PPC for example, |
java.lang.String |
getClientPlugInName()
|
java.lang.String |
getClientPlugInsVersion()
return the client synchro plug-ins version |
int |
getSynchroType()
return the synchro type. |
java.lang.String |
getUserAgent()
return the User-Agent |
static java.lang.String |
getUserAgentFromRequest(HttpServletRequest request)
|
int |
hashCode()
|
boolean |
isOPenMISClient()
return true if the client is an OpenMIS client |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SYNCHRO_TYPE_INDIRECT
public static final int SYNCHRO_TYPE_DIRECT
Constructor Detail |
public UserTerminal(java.lang.String browserUserAgent) throws java.lang.Exception
Method Detail |
public static java.lang.String getUserAgentFromRequest(HttpServletRequest request)
public java.lang.String getClientPlateformType()
public int getSynchroType()
public boolean isOPenMISClient()
public java.lang.String getClientLanguage()
public java.lang.String getClientPlugInsVersion()
public java.lang.String getUserAgent()
public java.lang.String getClientOS()
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String getClientOSVersion()
public java.lang.String getClientPlugInName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |