public enum SessionPersistence extends Enum<SessionPersistence>
Enum Constant and Description |
---|
HTTP_COOKIE
A session persistence mechanism that inserts an HTTP cookie and is used to determine the destination back-end
node.
|
SOURCE_IP
A session persistence mechanism that will keep track of the source IP address that is mapped and is able to
determine the destination back-end node.
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static SessionPersistence |
fromValue(String sessionPersistence) |
static SessionPersistence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionPersistence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionPersistence HTTP_COOKIE
public static final SessionPersistence SOURCE_IP
public static final SessionPersistence UNRECOGNIZED
public static SessionPersistence[] values()
for (SessionPersistence c : SessionPersistence.values()) System.out.println(c);
public static SessionPersistence 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 SessionPersistence fromValue(String sessionPersistence)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.