Package | Description |
---|---|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
Modifier and Type | Method and Description |
---|---|
static SpdyVersion |
SpdyVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpdyVersion[] |
SpdyVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected SpdyFrameDecoder |
SpdyFrameCodec.createDecoder(SpdyVersion version,
SpdyFrameDecoderDelegate delegate,
int maxChunkSize) |
protected SpdyFrameEncoder |
SpdyFrameCodec.createEncoder(SpdyVersion version) |
Constructor and Description |
---|
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,
int maxHeaderSize,
int compressionLevel,
int windowBits,
int memLevel,
boolean validateHeaders,
boolean supportsUnknownFrames)
Creates a new instance with the specified
version , validateHeaders ,
decoder and encoder options. |
SpdyFrameCodec(SpdyVersion version,
int maxChunkSize,
SpdyHeaderBlockDecoder spdyHeaderBlockDecoder,
SpdyHeaderBlockEncoder spdyHeaderBlockEncoder,
boolean validateHeaders) |
SpdyFrameCodec(SpdyVersion version,
int maxChunkSize,
SpdyHeaderBlockDecoder spdyHeaderBlockDecoder,
SpdyHeaderBlockEncoder spdyHeaderBlockEncoder,
boolean validateHeaders,
boolean supportsUnknownFrames) |
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)
Deprecated.
|
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)
Deprecated.
Use the
SpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead. |
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
Map<Integer,FullHttpMessage> messageMap)
Creates a new instance with the specified parameters.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
Map<Integer,FullHttpMessage> messageMap,
boolean validateHeaders)
Deprecated.
Use the
SpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead. |
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
Map<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.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.