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