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