public abstract class ZlibEncoder extends ByteToByteEncoder
ByteBuf
using the deflate algorithm.Constructor and Description |
---|
ZlibEncoder() |
Modifier and Type | Method and Description |
---|---|
abstract io.netty.channel.ChannelFuture |
close()
Close this
ZlibEncoder and so finish the encoding. |
abstract io.netty.channel.ChannelFuture |
close(io.netty.channel.ChannelPromise promise)
Close this
ZlibEncoder and so finish the encoding. |
abstract boolean |
isClosed()
Returns
true if and only if the end of the compressed stream
has been reached. |
encode, flush, sendFile
discardOutboundReadBytes, flush, newOutboundBuffer
bind, close, connect, deregister, disconnect, read
exceptionCaught, handlerAdded, handlerRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract boolean isClosed()
true
if and only if the end of the compressed stream
has been reached.public abstract io.netty.channel.ChannelFuture close()
ZlibEncoder
and so finish the encoding.
The returned ChannelFuture
will be notified once the
operation completes.public abstract io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise promise)
ZlibEncoder
and so finish the encoding.
The given ChannelFuture
will be notified once the operation
completes and will also be returned.Copyright © 2008-2013 The Netty Project. All Rights Reserved.