public static enum Session.SessionTrackingMode extends Enum<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 Session.SessionTrackingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.SessionTrackingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.SessionTrackingMode COOKIE
public static final Session.SessionTrackingMode URL
public static final Session.SessionTrackingMode SSL
public static Session.SessionTrackingMode[] values()
for (Session.SessionTrackingMode c : Session.SessionTrackingMode.values()) System.out.println(c);
public static 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 © 2021 Pivotal Software, Inc.. All rights reserved.