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