public static enum Session.SessionTrackingMode extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null