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