public class HttpResponseEncoder extends HttpObjectEncoder<HttpResponse>
ChannelHandler.Sharable| Constructor and Description |
|---|
HttpResponseEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptOutboundMessage(Object msg)
Returns
true if the given message should be handled. |
protected void |
encodeInitialLine(ByteBuf buf,
HttpResponse response) |
encode, encodeAscii, encodeHeaderswritebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedpublic boolean acceptOutboundMessage(Object msg) throws Exception
MessageToMessageEncodertrue if the given message should be handled. If false it will be passed to the next
ChannelOutboundHandler in the ChannelPipeline.acceptOutboundMessage in class HttpObjectEncoder<HttpResponse>Exceptionprotected void encodeInitialLine(ByteBuf buf, HttpResponse response) throws Exception
encodeInitialLine in class HttpObjectEncoder<HttpResponse>ExceptionCopyright © 2008–2017 The Netty Project. All rights reserved.