org.japano
Class IDMechanism
java.lang.Object
org.japano.util.Enum
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:
- param - The session id is set as jpnsid parameter
- path - The session id is used as first path part of the URI
- cookie - The session id is set as jpnsid cookie.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.
valueOf
public static IDMechanism valueOf(java.lang.String name)
getName
public java.lang.String getName()