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