程序包 | 说明 |
---|---|
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()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
SpdyFrameCodec(SpdyVersion version)
Creates a new instance with the specified
version ,
validateHeaders (true) , and
the default decoder and encoder options
(maxChunkSize (8192) , maxHeaderSize (16384) ,
compressionLevel (6) , windowBits (15) ,
and memLevel (8) ). |
SpdyFrameCodec(SpdyVersion version,
boolean validateHeaders)
Creates a new instance with the specified
version ,
validateHeaders , 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
version , validateHeaders (true) ,
decoder and encoder options. |
SpdyFrameCodec(SpdyVersion version,
int maxChunkSize,
int maxHeaderSize,
int compressionLevel,
int windowBits,
int memLevel,
boolean validateHeaders)
Creates a new instance with the specified
version , validateHeaders ,
decoder and encoder options. |
SpdyFrameCodec(SpdyVersion version,
int maxChunkSize,
SpdyHeaderBlockDecoder spdyHeaderBlockDecoder,
SpdyHeaderBlockEncoder spdyHeaderBlockEncoder,
boolean validateHeaders) |
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)
已过时。
|
SpdyHttpCodec(SpdyVersion version,
int maxContentLength,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
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)
已过时。
Use the
SpdyHttpDecoder.SpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead. |
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)
已过时。
Use the
SpdyHttpDecoder.SpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead. |
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
java.util.Map<java.lang.Integer,FullHttpMessage> messageMap,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Creates a new instance with the specified parameters.
|
SpdyHttpEncoder(SpdyVersion version)
Creates a new instance.
|
SpdyHttpEncoder(SpdyVersion version,
boolean headersToLowerCase,
boolean validateHeaders)
Creates a new instance.
|
SpdySessionHandler(SpdyVersion version,
boolean server)
Creates a new session handler.
|