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