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