public static enum RevocationResponse.Action extends Enum<RevocationResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The request from the client was wrong.
|
INTERNAL_SERVER_ERROR
The request from the service was wrong or an error occurred
in Authlete.
|
INVALID_CLIENT
Authentication of the client application failed.
|
OK
The request from the client was valid.
|
| Modifier and Type | Method and Description |
|---|---|
static RevocationResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevocationResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevocationResponse.Action INVALID_CLIENT
"400 Bad Request"
or "401 Unauthorized" to the client application.public static final RevocationResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the client application.public static final RevocationResponse.Action BAD_REQUEST
"400 Bad Request" to the client application.public static final RevocationResponse.Action OK
"200 OK" to the client application.public static RevocationResponse.Action[] values()
for (RevocationResponse.Action c : RevocationResponse.Action.values()) System.out.println(c);
public static RevocationResponse.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.