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