public enum SessionPersistenceType extends Enum<SessionPersistenceType>
| Enum Constant and Description |
|---|
APP_COOKIE |
HTTP_COOKIE |
SOURCE_IP |
| Modifier and Type | Method and Description |
|---|---|
static SessionPersistenceType |
forValue(String value) |
static SessionPersistenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionPersistenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionPersistenceType APP_COOKIE
public static final SessionPersistenceType HTTP_COOKIE
public static final SessionPersistenceType SOURCE_IP
public static SessionPersistenceType[] values()
for (SessionPersistenceType c : SessionPersistenceType.values()) System.out.println(c);
public static SessionPersistenceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SessionPersistenceType forValue(String value)
Copyright © 2016. All Rights Reserved.