public static enum OAuth.Method extends Enum<OAuth.Method>
| Enum Constant and Description |
|---|
DELETE
HTTP DELETE method
|
GET
HTTP GET method
|
HEAD
HTTP HEAD method
|
OPTIONS
HTTP OPTIONS method
|
POST
HTTP POST method
|
PUT
HTTP PUT method
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OAuth.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth.Method GET
public static final OAuth.Method POST
public static final OAuth.Method HEAD
public static final OAuth.Method OPTIONS
public static final OAuth.Method PUT
public static final OAuth.Method DELETE
public static OAuth.Method[] values()
for (OAuth.Method c : OAuth.Method.values()) System.out.println(c);
public static OAuth.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 nullpublic String toString()
toString in class Enum<OAuth.Method>