org.openmobileis.common.context.UserTerminal Class Reference

List of all members.

Detailed Description

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.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 49 of file UserTerminal.java.

Public Member Functions

 UserTerminal (String browserUserAgent) throws Exception
String getClientPlateformType ()
 return the general plateform type of the client PALMOS or PPC for example,
int getSynchroType ()
 return the synchro type.
boolean isOPenMISClient ()
 return true if the client is an OpenMIS client
String getClientLanguage ()
String getClientPlugInsVersion ()
 return the client synchro plug-ins version
String getUserAgent ()
 return the User-Agent
String getClientOS ()
boolean equals (Object o)
int hashCode ()
String getClientOSVersion ()
String getClientPlugInName ()

Static Public Member Functions

static String getUserAgentFromRequest (HttpServletRequest request)

Static Public Attributes

static final int SYNCHRO_TYPE_INDIRECT = 0
static final int SYNCHRO_TYPE_DIRECT = 1


Member Function Documentation

int org.openmobileis.common.context.UserTerminal.getSynchroType (  ) 

return the synchro type.

Client.SYNCHRO_TYPE_INDIRECT or Client.SYNCHRO_TYPE_DIRECT

Definition at line 125 of file UserTerminal.java.

Referenced by org.openmobileis.synchro.openmsp.server.OpenMSPService.run().


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:33 2006 for OpenMobileIS by  doxygen 1.5.1-p1