|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Manager.SessionPolicy> org.norther.tammi.spray.session.Manager.SessionPolicy
public static enum Manager.SessionPolicy
The session policy.
Enum Constant Summary | |
---|---|
ALLOW_MULTIPLE
Allows multiple sessions for the same principal. |
|
EXPIRE_EXISTING
Expires an existing session for the same principal. |
|
JOIN_EXISTING
Joins an existing session for the same principal. |
|
ROAM_EXISTING
Like join for the same user agent and client IP address, like allow for others. |
Method Summary | |
---|---|
static Manager.SessionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Manager.SessionPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Manager.SessionPolicy ALLOW_MULTIPLE
public static final Manager.SessionPolicy EXPIRE_EXISTING
public static final Manager.SessionPolicy JOIN_EXISTING
public static final Manager.SessionPolicy ROAM_EXISTING
Method Detail |
---|
public static Manager.SessionPolicy[] values()
for (Manager.SessionPolicy c : Manager.SessionPolicy.values()) System.out.println(c);
public static Manager.SessionPolicy valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |