Enum Constant Summary
Enum Constants
Field Summary
Fields
static final org.eclipse.jetty.util.Index<HttpHeader >
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
byte[]
byte[]
boolean
boolean
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
CONNECTION
General Fields.
IF_UNMODIFIED_SINCE
public static final HttpHeader IF_UNMODIFIED_SINCE
PROXY_AUTHORIZATION
public static final HttpHeader PROXY_AUTHORIZATION
ACCEPT_RANGES
Response Fields.
SEC_WEBSOCKET_VERSION
public static final HttpHeader SEC_WEBSOCKET_VERSION
SEC_WEBSOCKET_EXTENSIONS
public static final HttpHeader SEC_WEBSOCKET_EXTENSIONS
SEC_WEBSOCKET_SUBPROTOCOL
public static final HttpHeader SEC_WEBSOCKET_SUBPROTOCOL
SEC_WEBSOCKET_ACCEPT
public static final HttpHeader SEC_WEBSOCKET_ACCEPT
STRICT_TRANSPORT_SECURITY
public static final HttpHeader STRICT_TRANSPORT_SECURITY
Field Details
CACHE
public static final org.eclipse.jetty.util.Index<HttpHeader > CACHE
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
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
getBytes
public byte[] getBytes ()
getBytesColonSpace
public byte[] getBytesColonSpace ()
isPseudo
public boolean isPseudo ()
Returns:
True if the header is a HTTP2 Pseudo header (eg ':path')