public static enum ErrorResponse.ErrorResponseType extends Enum<ErrorResponse.ErrorResponseType>
Enum Constant and Description |
---|
AUTHENTICATION_FAILED
Authentication failed error response type.
|
CONNECTION_CLOSED
error response type.
|
COULD_NOT_CONNECT
Could not connect error response type.
|
GATEWAY_INTERNAL_ERROR
Gateway internal error error response type.
|
MALFORMED_REQUEST
Malformed request error response type.
|
NOT_ATTEMPTED
Not attempted error response type.
|
OTHER
Other error response type.
|
UNRESOLVABLE_URI
Unresolveable URI error response type.
|
Modifier and Type | Method and Description |
---|---|
static ErrorResponse.ErrorResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorResponse.ErrorResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorResponse.ErrorResponseType NOT_ATTEMPTED
public static final ErrorResponse.ErrorResponseType COULD_NOT_CONNECT
public static final ErrorResponse.ErrorResponseType CONNECTION_CLOSED
public static final ErrorResponse.ErrorResponseType MALFORMED_REQUEST
public static final ErrorResponse.ErrorResponseType GATEWAY_INTERNAL_ERROR
public static final ErrorResponse.ErrorResponseType AUTHENTICATION_FAILED
public static final ErrorResponse.ErrorResponseType UNRESOLVABLE_URI
public static final ErrorResponse.ErrorResponseType OTHER
public static ErrorResponse.ErrorResponseType[] values()
for (ErrorResponse.ErrorResponseType c : ErrorResponse.ErrorResponseType.values()) System.out.println(c);
public static ErrorResponse.ErrorResponseType 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 © 2003–2014 The Apache Software Foundation. All rights reserved.