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