public final class ZlibCodecFactory extends Object
ZlibEncoder
and a new ZlibDecoder
.Modifier and Type | Method and Description |
---|---|
static boolean |
isSupportingWindowSizeAndMemLevel()
Returns
true if specify a custom window size and mem level is supported. |
static ZlibDecoder |
newZlibDecoder() |
static ZlibDecoder |
newZlibDecoder(byte[] dictionary) |
static ZlibDecoder |
newZlibDecoder(ZlibWrapper wrapper) |
static ZlibEncoder |
newZlibEncoder(byte[] dictionary) |
static ZlibEncoder |
newZlibEncoder(int compressionLevel) |
static ZlibEncoder |
newZlibEncoder(int compressionLevel,
byte[] dictionary) |
static ZlibEncoder |
newZlibEncoder(int compressionLevel,
int windowBits,
int memLevel,
byte[] dictionary) |
static ZlibEncoder |
newZlibEncoder(ZlibWrapper wrapper) |
static ZlibEncoder |
newZlibEncoder(ZlibWrapper wrapper,
int compressionLevel) |
static ZlibEncoder |
newZlibEncoder(ZlibWrapper wrapper,
int compressionLevel,
int windowBits,
int memLevel) |
public static boolean isSupportingWindowSizeAndMemLevel()
true
if specify a custom window size and mem level is supported.public static ZlibEncoder newZlibEncoder(int compressionLevel)
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper)
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel)
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel, int windowBits, int memLevel)
public static ZlibEncoder newZlibEncoder(byte[] dictionary)
public static ZlibEncoder newZlibEncoder(int compressionLevel, byte[] dictionary)
public static ZlibEncoder newZlibEncoder(int compressionLevel, int windowBits, int memLevel, byte[] dictionary)
public static ZlibDecoder newZlibDecoder()
public static ZlibDecoder newZlibDecoder(ZlibWrapper wrapper)
public static ZlibDecoder newZlibDecoder(byte[] dictionary)
Copyright © 2008–2017 The Netty Project. All rights reserved.