程序包 | 说明 |
---|---|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
限定符和类型 | 方法和说明 |
---|---|
static SpdyVersion |
SpdyVersion.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SpdyVersion[] |
SpdyVersion.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
SpdyOrHttpChooser.configureSpdy(ChannelHandlerContext ctx,
SpdyVersion version)
已过时。
Configures the
Channel of the specified ctx for HTTP/2. |
构造器和说明 |
---|
SpdyFrameCodec(SpdyVersion version)
Creates a new instance with the specified
version and
the default decoder and encoder options
(maxChunkSize (8192) , maxHeaderSize (16384) ,
compressionLevel (6) , windowBits (15) ,
and memLevel (8) ). |
SpdyFrameCodec(SpdyVersion version,
int maxChunkSize,
int maxHeaderSize,
int compressionLevel,
int windowBits,
int memLevel)
Creates a new instance with the specified decoder and encoder options.
|
SpdyFrameCodec(SpdyVersion version,
int maxChunkSize,
io.netty.handler.codec.spdy.SpdyHeaderBlockDecoder spdyHeaderBlockDecoder,
io.netty.handler.codec.spdy.SpdyHeaderBlockEncoder spdyHeaderBlockEncoder) |
SpdyFrameDecoder(SpdyVersion spdyVersion,
SpdyFrameDecoderDelegate delegate)
Creates a new instance with the specified
version
and the default maxChunkSize (8192) . |
SpdyFrameDecoder(SpdyVersion spdyVersion,
SpdyFrameDecoderDelegate delegate,
int maxChunkSize)
Creates a new instance with the specified parameters.
|
SpdyFrameEncoder(SpdyVersion spdyVersion)
Creates a new instance with the specified
spdyVersion . |
SpdyHeaderBlockRawDecoder(SpdyVersion spdyVersion,
int maxHeaderSize) |
SpdyHeaderBlockRawEncoder(SpdyVersion version) |
SpdyHttpCodec(SpdyVersion version,
int maxContentLength)
Creates a new instance with the specified decoder options.
|
SpdyHttpCodec(SpdyVersion version,
int maxContentLength,
boolean validateHttpHeaders)
Creates a new instance with the specified decoder options.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength)
Creates a new instance.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
boolean validateHeaders)
Creates a new instance.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
java.util.Map<java.lang.Integer,FullHttpMessage> messageMap)
Creates a new instance with the specified parameters.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
java.util.Map<java.lang.Integer,FullHttpMessage> messageMap,
boolean validateHeaders)
Creates a new instance with the specified parameters.
|
SpdyHttpEncoder(SpdyVersion version)
Creates a new instance.
|
SpdySessionHandler(SpdyVersion version,
boolean server)
Creates a new session handler.
|