程序包 | 说明 |
---|---|
io.netty.handler.codec.compression | |
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 类和说明 |
---|---|
class |
BrotliOptions
BrotliOptions holds Encoder.Parameters for
Brotli compression. |
class |
DeflateOptions
DeflateOptions holds DeflateOptions.compressionLevel() ,
DeflateOptions.memLevel() and DeflateOptions.windowBits() for Deflate compression. |
class |
GzipOptions
GzipOptions holds DeflateOptions.compressionLevel() ,
DeflateOptions.memLevel() and DeflateOptions.windowBits() for Gzip compression. |
class |
SnappyOptions
SnappyOptions holds config for
Snappy compression. |
class |
ZstdOptions
ZstdOptions holds compressionLevel for
Zstd compression. |
构造器和说明 |
---|
HttpContentCompressor(CompressionOptions... compressionOptions)
Create a new
HttpContentCompressor Instance with specified
CompressionOptions s and contentSizeThreshold set to 0 |
HttpContentCompressor(int contentSizeThreshold,
CompressionOptions... compressionOptions)
Create a new
HttpContentCompressor instance with specified
CompressionOptions s |
构造器和说明 |
---|
CompressorHttp2ConnectionEncoder(Http2ConnectionEncoder delegate,
CompressionOptions... compressionOptionsArgs)
Create a new
CompressorHttp2ConnectionEncoder with
specified StandardCompressionOptions |