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