Package com.authlete.common.dto
Enum CredentialBatchParseResponse.Action
- java.lang.Object
-
- java.lang.Enum<CredentialBatchParseResponse.Action>
-
- com.authlete.common.dto.CredentialBatchParseResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<CredentialBatchParseResponse.Action>
- Enclosing class:
- CredentialBatchParseResponse
public static enum CredentialBatchParseResponse.Action extends Enum<CredentialBatchParseResponse.Action>
The next action that the implementation of the batch credential endpoint should take.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
The batch credential request is invalid.FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.INTERNAL_SERVER_ERROR
An error occurred on Authlete side.OK
The batch credential request is valid.UNAUTHORIZED
The batch credential request does not contain the access token or the access token is invalid.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CredentialBatchParseResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialBatchParseResponse.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final CredentialBatchParseResponse.Action OK
The batch credential request is valid.
-
BAD_REQUEST
public static final CredentialBatchParseResponse.Action BAD_REQUEST
The batch credential request is invalid.
-
UNAUTHORIZED
public static final CredentialBatchParseResponse.Action UNAUTHORIZED
The batch credential request does not contain the access token or the access token is invalid.
-
FORBIDDEN
public static final CredentialBatchParseResponse.Action FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.
-
INTERNAL_SERVER_ERROR
public static final CredentialBatchParseResponse.Action INTERNAL_SERVER_ERROR
An error occurred on Authlete side.
-
-
Method Detail
-
values
public static CredentialBatchParseResponse.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CredentialBatchParseResponse.Action c : CredentialBatchParseResponse.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialBatchParseResponse.Action valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-