public static enum HttpConversionUtil.ExtensionHeaderNames extends java.lang.Enum<HttpConversionUtil.ExtensionHeaderNames>
枚举常量和说明 |
---|
PATH
HTTP extension header which will identify the path pseudo header from the HTTP/2 event(s) responsible for
generating an
HttpObject
"x-http2-path" |
SCHEME
HTTP extension header which will identify the scheme pseudo header from the HTTP/2 event(s) responsible for
generating an
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 an
HttpObject
"x-http2-stream-id" |
STREAM_PROMISE_ID
HTTP extension header which will identify the stream id used to create this stream in an 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 an
HttpObject
"x-http2-stream-weight" |
限定符和类型 | 方法和说明 |
---|---|
AsciiString |
text() |
static HttpConversionUtil.ExtensionHeaderNames |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpConversionUtil.ExtensionHeaderNames[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final HttpConversionUtil.ExtensionHeaderNames STREAM_ID
HttpObject
"x-http2-stream-id"
public static final HttpConversionUtil.ExtensionHeaderNames SCHEME
HttpObject
"x-http2-scheme"
public static final HttpConversionUtil.ExtensionHeaderNames PATH
HttpObject
"x-http2-path"
public static final HttpConversionUtil.ExtensionHeaderNames STREAM_PROMISE_ID
"x-http2-stream-promise-id"
public static final HttpConversionUtil.ExtensionHeaderNames STREAM_DEPENDENCY_ID
"x-http2-stream-dependency-id"
public static final HttpConversionUtil.ExtensionHeaderNames STREAM_WEIGHT
HttpObject
"x-http2-stream-weight"
public static HttpConversionUtil.ExtensionHeaderNames[] values()
for (HttpConversionUtil.ExtensionHeaderNames c : HttpConversionUtil.ExtensionHeaderNames.values()) System.out.println(c);
public static HttpConversionUtil.ExtensionHeaderNames valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public AsciiString text()