|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AccessProtectedResource.Method>
com.google.api.client.auth.oauth2.draft10.AccessProtectedResource.Method
public static enum AccessProtectedResource.Method
Method of accessing protected resources.
The only method required to be implemented by the specification is
AUTHORIZATION_HEADER.
| Enum Constant Summary | |
|---|---|
AUTHORIZATION_HEADER
Uses the "Authorization" header, as specified in Section 5.1.1. |
|
FORM_ENCODED_BODY
Uses a form-encoded body parameter, as specified in Section 5.1.3. |
|
QUERY_PARAMETER
Uses the query parameter, as specified in Section 5.1.2. |
|
| Method Summary | |
|---|---|
static AccessProtectedResource.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AccessProtectedResource.Method[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AccessProtectedResource.Method AUTHORIZATION_HEADER
public static final AccessProtectedResource.Method QUERY_PARAMETER
public static final AccessProtectedResource.Method FORM_ENCODED_BODY
| Method Detail |
|---|
public static AccessProtectedResource.Method[] values()
for (AccessProtectedResource.Method c : AccessProtectedResource.Method.values()) System.out.println(c);
public static AccessProtectedResource.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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||