public static enum HttpUtil.ExtensionHeaderNames extends Enum<HttpUtil.ExtensionHeaderNames>
Enum Constant and Description |
---|
AUTHORITY
HTTP extension header which will identify the authority pseudo header from the HTTP/2 event(s) responsible
for generating a
HttpObject
"x-http2-authority" |
PATH
HTTP extension header which will identify the path pseudo header from the HTTP/2 event(s) responsible for
generating a
HttpObject
"x-http2-path" |
SCHEME
HTTP extension header which will identify the scheme pseudo header from the HTTP/2 event(s) responsible for
generating a
HttpObject
"x-http2-scheme" |
STREAM_DEPENDENCY_ID
HTTP extension header which will identify the stream id which this stream is dependent on.
|
STREAM_ID
HTTP extension header which will identify the stream id from the HTTP/2 event(s) responsible for generating a
HttpObject
"x-http2-stream-id" |
STREAM_PROMISE_ID
HTTP extension header which will identify the stream id used to create this stream in a HTTP/2 push promise
frame
"x-http2-stream-promise-id" |
STREAM_WEIGHT
HTTP extension header which will identify the weight (if non-default and the priority is not on the default
stream) of the associated HTTP/2 stream responsible responsible for generating a
HttpObject
"x-http2-stream-weight" |
Modifier and Type | Method and Description |
---|---|
AsciiString |
text() |
static HttpUtil.ExtensionHeaderNames |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpUtil.ExtensionHeaderNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpUtil.ExtensionHeaderNames STREAM_ID
HttpObject
"x-http2-stream-id"
public static final HttpUtil.ExtensionHeaderNames AUTHORITY
HttpObject
"x-http2-authority"
public static final HttpUtil.ExtensionHeaderNames SCHEME
HttpObject
"x-http2-scheme"
public static final HttpUtil.ExtensionHeaderNames PATH
HttpObject
"x-http2-path"
public static final HttpUtil.ExtensionHeaderNames STREAM_PROMISE_ID
"x-http2-stream-promise-id"
public static final HttpUtil.ExtensionHeaderNames STREAM_DEPENDENCY_ID
"x-http2-stream-dependency-id"
public static final HttpUtil.ExtensionHeaderNames STREAM_WEIGHT
HttpObject
"x-http2-stream-weight"
public static HttpUtil.ExtensionHeaderNames[] values()
for (HttpUtil.ExtensionHeaderNames c : HttpUtil.ExtensionHeaderNames.values()) System.out.println(c);
public static HttpUtil.ExtensionHeaderNames valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic AsciiString text()
Copyright © 2008–2015 The Netty Project. All rights reserved.