Package io.milton.http
Enum Request.Header
- java.lang.Object
-
- java.lang.Enum<Request.Header>
-
- io.milton.http.Request.Header
-
- All Implemented Interfaces:
Serializable,Comparable<Request.Header>
- Enclosing interface:
- Request
public static enum Request.Header extends Enum<Request.Header>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTACCEPT_ENCODINGACCEPT_LANGUAGEAUTHORIZATIONCACHE_CONTROLCONTENT_LENGTHCONTENT_RANGECONTENT_TYPEDEPTHDESTINATIONEXPECTHOSTIFIF_MATCHIF_MODIFIEDIF_NONE_MATCHIF_NOT_MODIFIEDIF_RANGELOCK_TOKENORIGINOVERWRITERANGEREFERERTIMEOUTUSER_AGENTWWW_AUTHENTICATEX_EXPECTED_ENTITY_LENGTHFor compatibility with macOS finder from 10.5.3
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Request.HeadervalueOf(String name)Returns the enum constant of this type with the specified name.static Request.Header[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE_CONTROL
public static final Request.Header CACHE_CONTROL
-
WWW_AUTHENTICATE
public static final Request.Header WWW_AUTHENTICATE
-
IF
public static final Request.Header IF
-
IF_RANGE
public static final Request.Header IF_RANGE
-
IF_MATCH
public static final Request.Header IF_MATCH
-
IF_NONE_MATCH
public static final Request.Header IF_NONE_MATCH
-
IF_MODIFIED
public static final Request.Header IF_MODIFIED
-
IF_NOT_MODIFIED
public static final Request.Header IF_NOT_MODIFIED
-
CONTENT_LENGTH
public static final Request.Header CONTENT_LENGTH
-
CONTENT_TYPE
public static final Request.Header CONTENT_TYPE
-
CONTENT_RANGE
public static final Request.Header CONTENT_RANGE
-
DEPTH
public static final Request.Header DEPTH
-
HOST
public static final Request.Header HOST
-
DESTINATION
public static final Request.Header DESTINATION
-
REFERER
public static final Request.Header REFERER
-
ACCEPT
public static final Request.Header ACCEPT
-
ACCEPT_LANGUAGE
public static final Request.Header ACCEPT_LANGUAGE
-
RANGE
public static final Request.Header RANGE
-
ACCEPT_ENCODING
public static final Request.Header ACCEPT_ENCODING
-
TIMEOUT
public static final Request.Header TIMEOUT
-
LOCK_TOKEN
public static final Request.Header LOCK_TOKEN
-
EXPECT
public static final Request.Header EXPECT
-
OVERWRITE
public static final Request.Header OVERWRITE
-
ORIGIN
public static final Request.Header ORIGIN
-
USER_AGENT
public static final Request.Header USER_AGENT
-
X_EXPECTED_ENTITY_LENGTH
public static final Request.Header X_EXPECTED_ENTITY_LENGTH
For compatibility with macOS finder from 10.5.3
-
AUTHORIZATION
public static final Request.Header AUTHORIZATION
-
-
Field Detail
-
code
public String code
-
-
Method Detail
-
values
public static Request.Header[] 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 (Request.Header c : Request.Header.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Request.Header 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
-
-