|
Restlet Framework 2.2.3 Java Enterprise Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResponseType>
org.restlet.ext.oauth.ResponseType
public enum ResponseType
Defines the supported types of responses to a grant request.
Enum Constant Summary | |
---|---|
code
Defined in 4.1 Authorization Code Grant. |
|
token
Defined in 4.2 Implicit Grant. |
Method Summary | |
---|---|
static ResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResponseType[] |
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 ResponseType code
public static final ResponseType token
Method Detail |
---|
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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
|
Restlet Framework 2.2.3 Java Enterprise Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |