Enum Class SessionPersistence
java.lang.Object
java.lang.Enum<SessionPersistence>
org.jclouds.rackspace.cloudloadbalancers.v1.domain.SessionPersistence
- All Implemented Interfaces:
Serializable
,Comparable<SessionPersistence>
,java.lang.constant.Constable
Session persistence is a feature of the load balancing service that forces multiple requests from clients to be
directed to the same node. This is common with many web applications that do not inherently share application
state between back-end servers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA session persistence mechanism that inserts an HTTP cookie and is used to determine the destination back-end node.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. -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionPersistence
static SessionPersistence
Returns the enum constant of this class with the specified name.static SessionPersistence[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HTTP_COOKIE
A session persistence mechanism that inserts an HTTP cookie and is used to determine the destination back-end node. This is supported for HTTP load balancing only. -
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. This is supported for HTTPS pass-through and non-HTTP load balancing only. -
UNRECOGNIZED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
-