public static enum ClientRegistrationResponse.Action extends Enum<ClientRegistrationResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The request from the client was wrong.
|
CREATED
The request was valid and a client application has been registered
successfully.
|
INTERNAL_SERVER_ERROR
The request from the endpoint implementation was wrong or an error
occurred in Authlete.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientRegistrationResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientRegistrationResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientRegistrationResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the client application.public static final ClientRegistrationResponse.Action BAD_REQUEST
"400 Bad Request" to the client application.public static final ClientRegistrationResponse.Action CREATED
"201 Created" to the client application.public static ClientRegistrationResponse.Action[] values()
for (ClientRegistrationResponse.Action c : ClientRegistrationResponse.Action.values()) System.out.println(c);
public static ClientRegistrationResponse.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 © 2018. All rights reserved.