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