public abstract class ZlibEncoder extends MessageToByteEncoder<ByteBuf>
ByteBuf using the deflate algorithm.ChannelHandler.Sharable| 限定符 | 构造器和说明 |
|---|---|
protected |
ZlibEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract ChannelFuture |
close()
Close this
ZlibEncoder and so finish the encoding. |
abstract ChannelFuture |
close(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. |
acceptOutboundMessage, allocateBuffer, encode, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedpublic abstract boolean isClosed()
true if and only if the end of the compressed stream
has been reached.public abstract ChannelFuture close()
ZlibEncoder and so finish the encoding.
The returned ChannelFuture will be notified once the
operation completes.public abstract ChannelFuture close(ChannelPromise promise)
ZlibEncoder and so finish the encoding.
The given ChannelFuture will be notified once the operation
completes and will also be returned.