com.bradmcevoy.http
Enum Request.Header

java.lang.Object
  extended by java.lang.Enum<Request.Header>
      extended by com.bradmcevoy.http.Request.Header
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Request.Header>
Enclosing interface:
Request

public static enum Request.Header
extends java.lang.Enum<Request.Header>


Enum Constant Summary
ACCEPT
           
ACCEPT_ENCODING
           
AUTHORIZATION
           
CACHE_CONTROL
           
CONTENT_LENGTH
           
CONTENT_RANGE
           
CONTENT_TYPE
           
DEPTH
           
DESTINATION
           
EXPECT
           
HOST
           
IF
           
IF_MODIFIED
           
IF_NOT_MODIFIED
           
LOCK_TOKEN
           
OVERWRITE
           
RANGE
           
REFERER
           
TIMEOUT
           
USER_AGENT
           
WWW_AUTHENTICATE
           
X_EXPECTED_ENTITY_LENGTH
          For compatibility with macOS finder from 10.5.3
 
Field Summary
 java.lang.String code
           
 
Method Summary
static Request.Header valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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_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

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

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 java.lang.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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.