class SpdyHeaderBlockJZlibEncoder extends SpdyHeaderBlockRawEncoder
Modifier and Type | Field and Description |
---|---|
private boolean |
finished |
private com.jcraft.jzlib.Deflater |
z |
Constructor and Description |
---|
SpdyHeaderBlockJZlibEncoder(SpdyVersion version,
int compressionLevel,
int windowBits,
int memLevel) |
Modifier and Type | Method and Description |
---|---|
private ByteBuf |
encode(ByteBufAllocator alloc) |
ByteBuf |
encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
void |
end() |
private void |
setInput(ByteBuf decompressed) |
newInstance
SpdyHeaderBlockJZlibEncoder(SpdyVersion version, int compressionLevel, int windowBits, int memLevel)
private void setInput(ByteBuf decompressed)
private ByteBuf encode(ByteBufAllocator alloc)
public ByteBuf encode(ByteBufAllocator alloc, SpdyHeadersFrame frame) throws java.lang.Exception
encode
in class SpdyHeaderBlockRawEncoder
java.lang.Exception
public void end()
end
in class SpdyHeaderBlockRawEncoder