public static enum ErrorResponse.ErrorResponseCode extends Enum<ErrorResponse.ErrorResponseCode>
| Enum Constant and Description |
|---|
access_denied |
invalid_client |
invalid_grant |
invalid_request |
invalid_scope |
server_error |
temporarily_unavailable |
unauthorized_client |
unsupported_grant_type |
unsupported_response_type |
| Modifier and Type | Method and Description |
|---|---|
static ErrorResponse.ErrorResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorResponse.ErrorResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorResponse.ErrorResponseCode invalid_request
public static final ErrorResponse.ErrorResponseCode unauthorized_client
public static final ErrorResponse.ErrorResponseCode access_denied
public static final ErrorResponse.ErrorResponseCode unsupported_response_type
public static final ErrorResponse.ErrorResponseCode invalid_scope
public static final ErrorResponse.ErrorResponseCode server_error
public static final ErrorResponse.ErrorResponseCode temporarily_unavailable
public static final ErrorResponse.ErrorResponseCode invalid_client
public static final ErrorResponse.ErrorResponseCode invalid_grant
public static final ErrorResponse.ErrorResponseCode unsupported_grant_type
public static ErrorResponse.ErrorResponseCode[] values()
for (ErrorResponse.ErrorResponseCode c : ErrorResponse.ErrorResponseCode.values()) System.out.println(c);
public static ErrorResponse.ErrorResponseCode 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 nullCopyright © 2013 JBoss Inc.. All Rights Reserved.