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