public static enum CommonsApi.Errors extends Enum<CommonsApi.Errors>
Enum Constant and Description |
---|
BAD_GATEWAY
The "bad gateway" error.
|
BAD_REQUEST
The "bad request" error.
|
CONFLICT
The "conflict" error.
|
EXPECTATION_FAILED
The "expectation failed" error.
|
FORBIDDEN
The "forbidden" error.
|
GATEWAY_TIMEOUT
The "gateway timeout" error.
|
GONE
The "gone" error.
|
HTTP_VERSION_NOT_SUPPORTED
The "http version not supported" error.
|
INTERNAL_SERVER_ERROR
The "internal server error" error.
|
LENGTH_REQUIRED
The "length required" error.
|
METHOD_NOT_ALLOWED
The "method not allowed" error.
|
NOT_ACCEPTABLE
The "not acceptable" error.
|
NOT_FOUND
The "not found" error.
|
NOT_SUPPORTED
The "not supported" error.
|
PAYMENT_REQUIRED
The "payment required" error.
|
PRECONDITION_FAILED
The "precondition failed" error.
|
PRECONDITION_REQUIRED
The "precondition required" error.
|
PROXY_AUTH_REQUIRED
The "proxy auth required" error.
|
RANGE_NOT_SATISFIABLE
The "range not satisfiable" error.
|
REQUEST_ENTITY_TOO_LARGE
The "request entity too large" error.
|
REQUEST_TIMEOUT
The "request timeout" error.
|
REQUEST_URI_TOO_LARGE
The "request uri too large" error.
|
UNAUTHORIZED
The "unauthorized" error.
|
UNAVAILABLE
The "unavailable" error.
|
UNSUPPORTED_MEDIA_TYPE
The "unsupported media type" error.
|
VERSION_MISMATCH
The "version mismatch" error.
|
VERSION_REQUIRED
The "version required " error.
|
Modifier and Type | Method and Description |
---|---|
String |
getReference()
The reference to use in an API description.
|
static CommonsApi.Errors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonsApi.Errors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonsApi.Errors BAD_REQUEST
public static final CommonsApi.Errors UNAUTHORIZED
public static final CommonsApi.Errors PAYMENT_REQUIRED
public static final CommonsApi.Errors FORBIDDEN
public static final CommonsApi.Errors NOT_FOUND
public static final CommonsApi.Errors METHOD_NOT_ALLOWED
public static final CommonsApi.Errors NOT_ACCEPTABLE
public static final CommonsApi.Errors PROXY_AUTH_REQUIRED
public static final CommonsApi.Errors REQUEST_TIMEOUT
public static final CommonsApi.Errors CONFLICT
public static final CommonsApi.Errors GONE
public static final CommonsApi.Errors LENGTH_REQUIRED
public static final CommonsApi.Errors VERSION_MISMATCH
public static final CommonsApi.Errors PRECONDITION_FAILED
public static final CommonsApi.Errors REQUEST_ENTITY_TOO_LARGE
public static final CommonsApi.Errors REQUEST_URI_TOO_LARGE
public static final CommonsApi.Errors UNSUPPORTED_MEDIA_TYPE
public static final CommonsApi.Errors RANGE_NOT_SATISFIABLE
public static final CommonsApi.Errors EXPECTATION_FAILED
public static final CommonsApi.Errors VERSION_REQUIRED
public static final CommonsApi.Errors PRECONDITION_REQUIRED
public static final CommonsApi.Errors INTERNAL_SERVER_ERROR
public static final CommonsApi.Errors NOT_SUPPORTED
public static final CommonsApi.Errors BAD_GATEWAY
public static final CommonsApi.Errors UNAVAILABLE
public static final CommonsApi.Errors GATEWAY_TIMEOUT
public static final CommonsApi.Errors HTTP_VERSION_NOT_SUPPORTED
public static CommonsApi.Errors[] values()
for (CommonsApi.Errors c : CommonsApi.Errors.values()) System.out.println(c);
public static CommonsApi.Errors 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 nullpublic String getReference()
Copyright © 2010-2018, ForgeRock All Rights Reserved.