public enum UsageItem extends Enum<UsageItem>
| Enum Constant and Description |
|---|
ACTION |
FORM_PARAMETER |
QUERY_PARAMETER |
REQUEST_HEADER |
RESOURCE |
RESPONSE_CODE |
RESPONSE_HEADER |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<String> |
get(Usage usage) |
static UsageItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageItem RESOURCE
public static final UsageItem ACTION
public static final UsageItem QUERY_PARAMETER
public static final UsageItem FORM_PARAMETER
public static final UsageItem REQUEST_HEADER
public static final UsageItem RESPONSE_HEADER
public static final UsageItem RESPONSE_CODE
public static UsageItem[] values()
for (UsageItem c : UsageItem.values()) System.out.println(c);
public static UsageItem 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 nullCopyright © 2014–2018. All rights reserved.