public static enum AuthorizationFailResponse.Action extends Enum<AuthorizationFailResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The ticket was no longer valid.
|
FORM
The service implementation should return
"200 OK"
to the client application with an HTML which triggers
redirection. |
INTERNAL_SERVER_ERROR
The request from the service implementation was wrong or
an error occurred in Authlete, so the service implementation
should return
"500 Internal Server Error" to the
client application. |
LOCATION
The service implementation should return
"302 Found"
to the client application with "Location" header. |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationFailResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationFailResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationFailResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the
client application.public static final AuthorizationFailResponse.Action BAD_REQUEST
"400 Bad Request" to the client application.public static final AuthorizationFailResponse.Action LOCATION
"302 Found"
to the client application with "Location" header.public static final AuthorizationFailResponse.Action FORM
"200 OK"
to the client application with an HTML which triggers
redirection.public static AuthorizationFailResponse.Action[] values()
for (AuthorizationFailResponse.Action c : AuthorizationFailResponse.Action.values()) System.out.println(c);
public static AuthorizationFailResponse.Action 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 © 2019. All rights reserved.