Package | Description |
---|---|
io.netty.handler.codec.compression | |
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
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) |
JdkZlibDecoder(ZlibWrapper wrapper,
boolean decompressConcatenated,
int maxAllocation) |
JdkZlibDecoder(ZlibWrapper wrapper,
int maxAllocation)
Creates a new instance with the specified wrapper and maximum buffer allocation.
|
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.
|
JZlibDecoder(ZlibWrapper wrapper,
int maxAllocation)
Creates a new instance with the specified wrapper and maximum buffer allocation.
|
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. |
Modifier and Type | Method and Description |
---|---|
protected ZlibWrapper |
HttpContentCompressor.determineWrapper(String acceptEncoding)
Deprecated.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.