public static enum GAuthEndpoint.Name extends Enum<GAuthEndpoint.Name>
Enum Constant and Description |
---|
AUTHORIZE
Name of the endpoint for requesting an unauthorized request token.
|
UPGRADE
Name of the endpoint for upgrading an authorized request token to an
access token.
|
Modifier and Type | Method and Description |
---|---|
static GAuthEndpoint.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GAuthEndpoint.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GAuthEndpoint.Name AUTHORIZE
public static final GAuthEndpoint.Name UPGRADE
public static GAuthEndpoint.Name[] values()
for (GAuthEndpoint.Name c : GAuthEndpoint.Name.values()) System.out.println(c);
public static GAuthEndpoint.Name 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 nullApache Camel