public abstract class ZlibEncoder extends MessageToByteEncoder<io.netty.buffer.ByteBuf>
ByteBuf using the deflate algorithm.| Modifier | Constructor and Description |
|---|---|
protected |
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. |
acceptOutboundMessage, allocateBuffer, encode, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic 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–2019 The Netty Project. All rights reserved.