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