Package org.infinispan.rest
Enum RequestHeader
- java.lang.Object
-
- java.lang.Enum<RequestHeader>
-
- org.infinispan.rest.RequestHeader
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestHeader>
public enum RequestHeader extends Enum<RequestHeader>
- Since:
- 11.0
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static CharSequence[]
toArray()
static RequestHeader
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestHeader[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPT_HEADER
public static final RequestHeader ACCEPT_HEADER
-
AUTHORIZATION
public static final RequestHeader AUTHORIZATION
-
CACHE_CONTROL_HEADER
public static final RequestHeader CACHE_CONTROL_HEADER
-
CONTENT_ENCODING_HEADER
public static final RequestHeader CONTENT_ENCODING_HEADER
-
CONTENT_TYPE_HEADER
public static final RequestHeader CONTENT_TYPE_HEADER
-
CREATED_HEADER
public static final RequestHeader CREATED_HEADER
-
EXTENDED_HEADER
public static final RequestHeader EXTENDED_HEADER
-
FLAGS_HEADER
public static final RequestHeader FLAGS_HEADER
-
IF_MODIFIED_SINCE
public static final RequestHeader IF_MODIFIED_SINCE
-
IF_NONE_MATCH
public static final RequestHeader IF_NONE_MATCH
-
IF_UNMODIFIED_SINCE
public static final RequestHeader IF_UNMODIFIED_SINCE
-
KEY_CONTENT_TYPE_HEADER
public static final RequestHeader KEY_CONTENT_TYPE_HEADER
-
LAST_USED_HEADER
public static final RequestHeader LAST_USED_HEADER
-
MAX_TIME_IDLE_HEADER
public static final RequestHeader MAX_TIME_IDLE_HEADER
-
TTL_SECONDS_HEADER
public static final RequestHeader TTL_SECONDS_HEADER
-
-
Method Detail
-
values
public static RequestHeader[] 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 (RequestHeader c : RequestHeader.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestHeader 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 nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
toArray
public static CharSequence[] toArray()
-
-