Package | Description |
---|---|
org.jboss.netty.handler.codec.compression |
Encoder and decoder which compresses and decompresses
ChannelBuffer s
in a compression format such as zlib
and gzip. |
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.
|
Constructor and Description |
---|
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. |
ZlibDecoder(ZlibWrapper wrapper)
Creates a new instance with the specified wrapper.
|
ZlibEncoder(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. |
ZlibEncoder(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. |
ZlibEncoder(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-2013 The Netty Project. All Rights Reserved.