public static enum HttpConversionUtil.ExtensionHeaderNames extends java.lang.Enum<HttpConversionUtil.ExtensionHeaderNames>
Enum Constant and Description |
---|
PATH
HTTP扩展头,它将识别负责生成
HttpObject
"x-http2-path" 的HTTP / 2事件中的路径伪头
|
SCHEME
HTTP扩展头,它将识别负责生成
HttpObject
"x-http2-scheme" 的HTTP / 2事件中的方案伪头
|
STREAM_DEPENDENCY_ID
HTTP扩展头将标识该流依赖的流ID。
|
STREAM_ID
HTTP扩展头,它将识别负责生成
HttpObject
"x-http2-stream-id" 的HTTP / 2事件中的流ID
|
STREAM_PROMISE_ID
HTTP扩展头,它将识别用于在HTTP / 2推送承诺帧中创建此流的流ID
"x-http2-stream-promise-id"
|
STREAM_WEIGHT
HTTP扩展头,它将识别相关HTTP / 2流负责生成
HttpObject
"x-http2-stream-weight" 的权重(如果非默认和优先级不在默认流上)
|
Modifier and Type | Method and Description |
---|---|
AsciiString |
text() |
static HttpConversionUtil.ExtensionHeaderNames |
valueOf(java.lang.String name)
以指定名称返回此类型的枚举常量。
|
static HttpConversionUtil.ExtensionHeaderNames[] |
values()
按照声明的顺序返回包含此枚举类型常量的数组。
|
public static final HttpConversionUtil.ExtensionHeaderNames STREAM_ID
HttpObject
的HTTP / 2事件中的流ID
"x-http2-stream-id"
public static final HttpConversionUtil.ExtensionHeaderNames SCHEME
HttpObject
的HTTP / 2事件中的方案伪头
"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
的相关HTTP / 2流的权重(如果非默认和优先级不在默认流上)
"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
- 如果参数为null
public AsciiString text()
Copyright © 2008–2018 The Netty Project. All rights reserved.