Package org.forgerock.api.commons
Enum Class CommonsApi.Errors
- All Implemented Interfaces:
Serializable
,Comparable<CommonsApi.Errors>
,java.lang.constant.Constable
- Enclosing class:
- CommonsApi
Common api errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe "bad gateway" error.The "bad request" error.The "conflict" error.The "expectation failed" error.The "forbidden" error.The "gateway timeout" error.The "gone" error.The "http version not supported" error.The "internal server error" error.The "length required" error.The "method not allowed" error.The "not acceptable" error.The "not found" error.The "not supported" error.The "payment required" error.The "precondition failed" error.The "precondition required" error.The "proxy auth required" error.The "range not satisfiable" error.The "request entity too large" error.The "request timeout" error.The "request uri too large" error.The "unauthorized" error.The "unavailable" error.The "unsupported media type" error.The "version mismatch" error.The "version required " error. -
Method Summary
Modifier and TypeMethodDescriptionThe reference to use in an API description.static CommonsApi.Errors
Returns the enum constant of this class with the specified name.static CommonsApi.Errors[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BAD_REQUEST
The "bad request" error. -
UNAUTHORIZED
The "unauthorized" error. -
PAYMENT_REQUIRED
The "payment required" error. -
FORBIDDEN
The "forbidden" error. -
NOT_FOUND
The "not found" error. -
METHOD_NOT_ALLOWED
The "method not allowed" error. -
NOT_ACCEPTABLE
The "not acceptable" error. -
PROXY_AUTH_REQUIRED
The "proxy auth required" error. -
REQUEST_TIMEOUT
The "request timeout" error. -
CONFLICT
The "conflict" error. -
GONE
The "gone" error. -
LENGTH_REQUIRED
The "length required" error. -
VERSION_MISMATCH
The "version mismatch" error. -
PRECONDITION_FAILED
The "precondition failed" error. -
REQUEST_ENTITY_TOO_LARGE
The "request entity too large" error. -
REQUEST_URI_TOO_LARGE
The "request uri too large" error. -
UNSUPPORTED_MEDIA_TYPE
The "unsupported media type" error. -
RANGE_NOT_SATISFIABLE
The "range not satisfiable" error. -
EXPECTATION_FAILED
The "expectation failed" error. -
VERSION_REQUIRED
The "version required " error. -
PRECONDITION_REQUIRED
The "precondition required" error. -
INTERNAL_SERVER_ERROR
The "internal server error" error. -
NOT_SUPPORTED
The "not supported" error. -
BAD_GATEWAY
The "bad gateway" error. -
UNAVAILABLE
The "unavailable" error. -
GATEWAY_TIMEOUT
The "gateway timeout" error. -
HTTP_VERSION_NOT_SUPPORTED
The "http version not supported" error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getReference
The reference to use in an API description.- Returns:
- the reference of this error
-