public enum TokenLocation extends java.lang.Enum<TokenLocation>
Enum Constant and Description |
---|
COOKIE |
REQUEST |
REQUEST_HEADER |
SESSION |
Modifier and Type | Method and Description |
---|---|
static TokenLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenLocation COOKIE
public static final TokenLocation REQUEST
public static final TokenLocation REQUEST_HEADER
public static final TokenLocation SESSION
public static TokenLocation[] values()
for (TokenLocation c : TokenLocation.values()) System.out.println(c);
public static TokenLocation 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