public static enum Api.HttpMethod extends java.lang.Enum<Api.HttpMethod>
Modifier and Type | Method and Description |
---|---|
static Api.HttpMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Api.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Api.HttpMethod GET
public static final Api.HttpMethod POST
public static final Api.HttpMethod PUT
public static final Api.HttpMethod DELETE
public static Api.HttpMethod[] values()
for (Api.HttpMethod c : Api.HttpMethod.values()) System.out.println(c);
public static Api.HttpMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null