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