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