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