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