public static enum ServerProperties.Session.SessionTrackingMode extends Enum<ServerProperties.Session.SessionTrackingMode>
SessionTrackingMode
.Enum Constant and Description |
---|
COOKIE
Send a cookie in response to the client's first request.
|
SSL
Use SSL build-in mechanism to track the session.
|
URL
Rewrite the URL to append a session ID.
|
Modifier and Type | Method and Description |
---|---|
static ServerProperties.Session.SessionTrackingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerProperties.Session.SessionTrackingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerProperties.Session.SessionTrackingMode COOKIE
public static final ServerProperties.Session.SessionTrackingMode URL
public static final ServerProperties.Session.SessionTrackingMode SSL
public static ServerProperties.Session.SessionTrackingMode[] values()
for (ServerProperties.Session.SessionTrackingMode c : ServerProperties.Session.SessionTrackingMode.values()) System.out.println(c);
public static ServerProperties.Session.SessionTrackingMode 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.