public abstract class HttpObjectEncoder<H extends HttpMessage> extends io.netty.handler.codec.MessageToMessageEncoder<HttpObject>
HttpMessage or an HttpContent into
a ByteBuf.
| Constructor and Description |
|---|
HttpObjectEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
HttpObject msg,
io.netty.channel.MessageList<Object> out) |
protected abstract void |
encodeInitialLine(io.netty.buffer.ByteBuf buf,
H message) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, readexceptionCaught, handlerAdded, handlerRemovedprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
HttpObject msg,
io.netty.channel.MessageList<Object> out)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<HttpObject>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.