public enum HttpErrorCode extends java.lang.Enum<HttpErrorCode>
| Enum Constant and Description |
|---|
CONNECTION_FAILURE |
HTTP_PROTOCOL_ERROR |
NO_HTTP_RESPONSE |
TRANSPORT_ERROR |
UNKNOWN_ERROR |
URI_SYNTAX_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static HttpErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpErrorCode CONNECTION_FAILURE
public static final HttpErrorCode URI_SYNTAX_ERROR
public static final HttpErrorCode NO_HTTP_RESPONSE
public static final HttpErrorCode HTTP_PROTOCOL_ERROR
public static final HttpErrorCode TRANSPORT_ERROR
public static final HttpErrorCode UNKNOWN_ERROR
public static HttpErrorCode[] values()
for (HttpErrorCode c : HttpErrorCode.values()) System.out.println(c);
public static HttpErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null