public static enum RESTClient.REQUEST_TYPE extends Enum<RESTClient.REQUEST_TYPE>
Modifier and Type | Method and Description |
---|---|
static RESTClient.REQUEST_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RESTClient.REQUEST_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RESTClient.REQUEST_TYPE GET
public static final RESTClient.REQUEST_TYPE POST
public static final RESTClient.REQUEST_TYPE PUT
public static final RESTClient.REQUEST_TYPE DELETE
public static RESTClient.REQUEST_TYPE[] values()
for (RESTClient.REQUEST_TYPE c : RESTClient.REQUEST_TYPE.values()) System.out.println(c);
public static RESTClient.REQUEST_TYPE 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