public static enum SearchMatch.Location extends Enum<SearchMatch.Location>
Enum Constant and Description |
---|
REQUEST_BODY |
REQUEST_HEAD |
RESPONSE_BODY |
RESPONSE_HEAD |
Modifier and Type | Method and Description |
---|---|
static SearchMatch.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchMatch.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchMatch.Location REQUEST_HEAD
public static final SearchMatch.Location REQUEST_BODY
public static final SearchMatch.Location RESPONSE_HEAD
public static final SearchMatch.Location RESPONSE_BODY
public static SearchMatch.Location[] values()
for (SearchMatch.Location c : SearchMatch.Location.values()) System.out.println(c);
public static SearchMatch.Location 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 null