public final class ZlibCodecFactory
extends java.lang.Object
ZlibEncoder
和一个新的ZlibDecoder
。
Modifier and Type | Method and Description |
---|---|
static boolean |
isSupportingWindowSizeAndMemLevel()
如果指定自定义窗口大小并且支持mem级别,则返回
true 。
|
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
。
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–2018 The Netty Project. All rights reserved.