enum RequestProtocolError extends java.lang.Enum<RequestProtocolError>
Enum Constant and Description |
---|
BODY_BUT_NO_LENGTH_ERROR |
NO_CACHE_DIRECTIVE_WITH_FIELD_NAME |
UNKNOWN |
WEAK_ETAG_AND_RANGE_ERROR |
WEAK_ETAG_ON_PUTDELETE_METHOD_ERROR |
Modifier and Type | Method and Description |
---|---|
static RequestProtocolError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestProtocolError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestProtocolError UNKNOWN
public static final RequestProtocolError BODY_BUT_NO_LENGTH_ERROR
public static final RequestProtocolError WEAK_ETAG_ON_PUTDELETE_METHOD_ERROR
public static final RequestProtocolError WEAK_ETAG_AND_RANGE_ERROR
public static final RequestProtocolError NO_CACHE_DIRECTIVE_WITH_FIELD_NAME
public static RequestProtocolError[] values()
for (RequestProtocolError c : RequestProtocolError.values()) System.out.println(c);
public static RequestProtocolError 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