Package | Description |
---|---|
io.netty.handler.codec.compression |
Modifier and Type | Method and Description |
---|---|
static ZlibWrapper |
ZlibWrapper.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZlibWrapper[] |
ZlibWrapper.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
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. |
Copyright © 2008–2019 The Netty Project. All rights reserved.