public abstract class HttpObjectEncoder<H extends HttpMessage> extends io.netty.handler.codec.MessageToByteEncoder<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.buffer.ByteBuf out) |
protected abstract void |
encodeInitialLine(io.netty.buffer.ByteBuf buf,
H message) |
acceptOutboundMessage, beginFlush, endFlush, flush, freeOutboundBuffer, isCloseOnFailedFlush, newOutboundBuffer, setCloseOnFailedFlushbind, close, connect, deregister, disconnect, read, sendFileafterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaughtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
HttpObject msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode in class io.netty.handler.codec.MessageToByteEncoder<HttpObject>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.