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