程序包 | 说明 |
---|---|
io.netty.handler.codec.compression | |
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
限定符和类型 | 方法和说明 |
---|---|
static ZlibWrapper |
ZlibWrapper.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ZlibWrapper[] |
ZlibWrapper.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static ZlibDecoder |
ZlibCodecFactory.newZlibDecoder(ZlibWrapper wrapper) |
static ZlibEncoder |
ZlibCodecFactory.newZlibEncoder(ZlibWrapper wrapper) |
static ZlibEncoder |
ZlibCodecFactory.newZlibEncoder(ZlibWrapper wrapper,
int compressionLevel) |
static ZlibEncoder |
ZlibCodecFactory.newZlibEncoder(ZlibWrapper wrapper,
int compressionLevel,
int windowBits,
int memLevel) |
构造器和说明 |
---|
JdkZlibDecoder(ZlibWrapper wrapper)
Creates a new instance with the specified wrapper.
|
JdkZlibDecoder(ZlibWrapper wrapper,
boolean decompressConcatenated) |
JdkZlibEncoder(ZlibWrapper wrapper)
Creates a new zlib encoder with the default compression level (
6 )
and the specified wrapper. |
JdkZlibEncoder(ZlibWrapper wrapper,
int compressionLevel)
Creates a new zlib encoder with the specified
compressionLevel
and the specified wrapper. |
JZlibDecoder(ZlibWrapper wrapper)
Creates a new instance with the specified wrapper.
|
JZlibEncoder(ZlibWrapper wrapper)
Creates a new zlib encoder with the default compression level (
6 ),
default window bits (15 ), default memory level (8 ),
and the specified wrapper. |
JZlibEncoder(ZlibWrapper wrapper,
int compressionLevel)
Creates a new zlib encoder with the specified
compressionLevel ,
default window bits (15 ), default memory level (8 ),
and the specified wrapper. |
JZlibEncoder(ZlibWrapper wrapper,
int compressionLevel,
int windowBits,
int memLevel)
Creates a new zlib encoder with the specified
compressionLevel ,
the specified windowBits , the specified memLevel , and
the specified wrapper. |
限定符和类型 | 方法和说明 |
---|---|
protected ZlibWrapper |
HttpContentCompressor.determineWrapper(java.lang.String acceptEncoding) |