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