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