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.
|
DELETED
The request was valid and a client application has been deleted
successfully.
|
INTERNAL_SERVER_ERROR
The request from the endpoint implementation was wrong or an error
occurred in Authlete.
|
OK
The request was valid and the client application has been returned.
|
UPDATED
The request was valid and a client application has been updated
successfully.
|
| 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 final ClientRegistrationResponse.Action UPDATED
"200 OK" to the client application.public static final ClientRegistrationResponse.Action DELETED
"204 No Content" to the client application.public static final ClientRegistrationResponse.Action OK
"200 OK" 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 © 2019. All rights reserved.