org.japano
Class IDMechanism

java.lang.Object
  extended by org.japano.util.Enum
      extended by org.japano.IDMechanism
All Implemented Interfaces:
java.io.Serializable

public class IDMechanism
extends Enum

Represents the different strategies to associate a client with a session id. Possible mechanisms are:

See Also:
Serialized Form

Field Summary
static IDMechanism COOKIE
          The session id is set as jpnsid cookie.
static IDMechanism PARAM
          The session id is set as jpnsid parameter
static IDMechanism PATH
          The session id is used as first path part of the URI
 
Method Summary
 java.lang.String getName()
           
static IDMechanism valueOf(java.lang.String name)
           
 
Methods inherited from class org.japano.util.Enum
fromIdentifier, getIdentifier, hashCode, instances, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAM

public static final IDMechanism PARAM
The session id is set as jpnsid parameter


PATH

public static final IDMechanism PATH
The session id is used as first path part of the URI


COOKIE

public static final IDMechanism COOKIE
The session id is set as jpnsid cookie.

Method Detail

valueOf

public static IDMechanism valueOf(java.lang.String name)

getName

public java.lang.String getName()