public class SimpleCompressionHandler extends HttpContentCompressor
HttpContentEncoder.ResultChannelHandler.Sharable| Constructor and Description |
|---|
SimpleCompressionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handlerAdded(ChannelHandlerContext ctx) |
void |
write(ChannelHandlerContext ctx,
java.lang.Object msg,
ChannelPromise promise) |
beginEncode, determineWrapperacceptOutboundMessage, channelInactive, decode, encode, handlerRemovedacceptInboundMessage, channelReadbind, close, connect, deregister, disconnect, flush, readchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaughtpublic void write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) throws java.lang.Exception
write in interface ChannelOutboundHandlerwrite in class MessageToMessageCodec<HttpRequest,HttpObject>java.lang.Exceptionpublic void handlerAdded(ChannelHandlerContext ctx) throws java.lang.Exception
handlerAdded in interface ChannelHandlerhandlerAdded in class HttpContentCompressorjava.lang.Exception