public static enum ManagementServerProperties.SessionCreationPolicy extends Enum<ManagementServerProperties.SessionCreationPolicy>
Enum Constant and Description |
---|
ALWAYS
Always create an
HttpSession . |
IF_REQUIRED
Only create an
HttpSession if required. |
NEVER
Never create an
HttpSession , but use any HttpSession that
already exists. |
STATELESS
Never create an
HttpSession . |
Modifier and Type | Method and Description |
---|---|
static ManagementServerProperties.SessionCreationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagementServerProperties.SessionCreationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagementServerProperties.SessionCreationPolicy ALWAYS
HttpSession
.public static final ManagementServerProperties.SessionCreationPolicy NEVER
HttpSession
, but use any HttpSession
that
already exists.public static final ManagementServerProperties.SessionCreationPolicy IF_REQUIRED
HttpSession
if required.public static final ManagementServerProperties.SessionCreationPolicy STATELESS
HttpSession
.public static ManagementServerProperties.SessionCreationPolicy[] values()
for (ManagementServerProperties.SessionCreationPolicy c : ManagementServerProperties.SessionCreationPolicy.values()) System.out.println(c);
public static ManagementServerProperties.SessionCreationPolicy 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 nullCopyright © 2017 Pivotal Software, Inc.. All rights reserved.