public enum AccessTokenRequestOption extends Enum<AccessTokenRequestOption>
| Enum Constant and Description |
|---|
AUTHENTICATION_HEADER |
ENTITY_BODY_PARAMETERS |
QUERY_STRING_PARAMETERS |
| Modifier and Type | Method and Description |
|---|---|
String |
getOption() |
static AccessTokenRequestOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessTokenRequestOption |
valueOfOption(String optionValue) |
static AccessTokenRequestOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessTokenRequestOption AUTHENTICATION_HEADER
public static final AccessTokenRequestOption QUERY_STRING_PARAMETERS
public static final AccessTokenRequestOption ENTITY_BODY_PARAMETERS
public static AccessTokenRequestOption[] values()
for (AccessTokenRequestOption c : AccessTokenRequestOption.values()) System.out.println(c);
public static AccessTokenRequestOption 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 getOption()
public static AccessTokenRequestOption valueOfOption(String optionValue)
Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.