org.apache.http.impl.client.cache
Enum RequestProtocolError
java.lang.Object
java.lang.Enum<RequestProtocolError>
org.apache.http.impl.client.cache.RequestProtocolError
- All Implemented Interfaces:
- Serializable, Comparable<RequestProtocolError>
public enum RequestProtocolError
- extends Enum<RequestProtocolError>
- Since:
- 4.1
UNKNOWN
public static final RequestProtocolError UNKNOWN
BODY_BUT_NO_LENGTH_ERROR
public static final RequestProtocolError BODY_BUT_NO_LENGTH_ERROR
WEAK_ETAG_ON_PUTDELETE_METHOD_ERROR
public static final RequestProtocolError WEAK_ETAG_ON_PUTDELETE_METHOD_ERROR
WEAK_ETAG_AND_RANGE_ERROR
public static final RequestProtocolError WEAK_ETAG_AND_RANGE_ERROR
NO_CACHE_DIRECTIVE_WITH_FIELD_NAME
public static final RequestProtocolError NO_CACHE_DIRECTIVE_WITH_FIELD_NAME
values
public static RequestProtocolError[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RequestProtocolError c : RequestProtocolError.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RequestProtocolError valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.