org.apache.camel.component.gae.auth
Enum GAuthEndpoint.Name
java.lang.Object
java.lang.Enum<GAuthEndpoint.Name>
org.apache.camel.component.gae.auth.GAuthEndpoint.Name
- All Implemented Interfaces:
- Serializable, Comparable<GAuthEndpoint.Name>
- Enclosing class:
- GAuthEndpoint
public static enum GAuthEndpoint.Name
- extends Enum<GAuthEndpoint.Name>
Enum Constant Summary |
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. |
AUTHORIZE
public static final GAuthEndpoint.Name AUTHORIZE
- Name of the endpoint for requesting an unauthorized request token.
UPGRADE
public static final GAuthEndpoint.Name UPGRADE
- Name of the endpoint for upgrading an authorized request token to an
access token.
values
public static GAuthEndpoint.Name[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GAuthEndpoint.Name c : GAuthEndpoint.Name.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GAuthEndpoint.Name valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Apache Camel