| Enum Constant and Description |
|---|
DELETE
Delete a resource.
|
GET
Get a resource.
|
OPTIONS
Get the list of options from the request.
|
PATCH
Change parts of the resource.
|
POST
Send a new resource.
|
PUT
Put a new resource.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Method PATCH
public static final Method GET
public static final Method PUT
public static final Method OPTIONS
public static final Method DELETE
public static final Method POST
public static Method[] values()
for (Method c : Method.values()) System.out.println(c);
public static 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<Method>