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