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