org.strutsme.common
Class Constants

java.lang.Object
  extended by org.strutsme.common.Constants

public final class Constants
extends java.lang.Object

This class contains constants needed on both the client- and the serverside of the application.

Version:
$Date$
Author:
lbusmann

Field Summary
static java.lang.Boolean BOOLEAN_FALSE
          Boolean.TRUE and Boolean.FALSE are not available in CLDC 1.0.
static java.lang.Boolean BOOLEAN_TRUE
          Boolean.TRUE and Boolean.FALSE are not available in CLDC 1.0.
static java.lang.String ERRORS
          Key for the server-response which contains the errors of the execution as a SafeHashtable.
static java.lang.String EXCEPTION
          Key for the server-response which contains the exception message as a string.
static java.lang.String FORM_DATA
          Key for the server-response which contains the data from the last executed form as a SafeHashtable.
static java.lang.String IS_STRUTSME_REQUEST
          HTTP request parameter which should be set to "true" to indicate a request from the mobile client.
static java.lang.String LAST_ACTION
          Key for the server-response which contains the name of the last executed action as a string.
static java.lang.String MESSAGES
          Key for the server-response which contains the messages of the execution as a SafeHashtable.
static java.lang.String SESSION
          Key for the server-response which contains the session id.
static java.lang.String VERSION
          Key for the serialization which contains the version information. see SerializationBase#copyValuesToMap(SafeHashtable)
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_STRUTSME_REQUEST

public static final java.lang.String IS_STRUTSME_REQUEST
HTTP request parameter which should be set to "true" to indicate a request from the mobile client.

See Also:
Constant Field Values

EXCEPTION

public static final java.lang.String EXCEPTION
Key for the server-response which contains the exception message as a string.

See Also:
Constant Field Values

LAST_ACTION

public static final java.lang.String LAST_ACTION
Key for the server-response which contains the name of the last executed action as a string.

See Also:
Constant Field Values

MESSAGES

public static final java.lang.String MESSAGES
Key for the server-response which contains the messages of the execution as a SafeHashtable.

See Also:
Constant Field Values

ERRORS

public static final java.lang.String ERRORS
Key for the server-response which contains the errors of the execution as a SafeHashtable.

See Also:
Constant Field Values

FORM_DATA

public static final java.lang.String FORM_DATA
Key for the server-response which contains the data from the last executed form as a SafeHashtable.

See Also:
Constant Field Values

SESSION

public static final java.lang.String SESSION
Key for the server-response which contains the session id.

See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Key for the serialization which contains the version information. see SerializationBase#copyValuesToMap(SafeHashtable)

See Also:
Constant Field Values

BOOLEAN_TRUE

public static final java.lang.Boolean BOOLEAN_TRUE
Boolean.TRUE and Boolean.FALSE are not available in CLDC 1.0. Boolean.valueOf() is not available in CLDC 1.0 and CLDC 1.1.


BOOLEAN_FALSE

public static final java.lang.Boolean BOOLEAN_FALSE
Boolean.TRUE and Boolean.FALSE are not available in CLDC 1.0. Boolean.valueOf() is not available in CLDC 1.0 and CLDC 1.1.