public abstract class HttpMessageEncoder extends io.netty.handler.codec.MessageToByteEncoder<Object>
HttpMessage or an HttpChunk into
a ByteBuf.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpMessageEncoder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.buffer.ByteBuf out) |
protected abstract void |
encodeInitialLine(io.netty.buffer.ByteBuf buf,
HttpMessage message) |
boolean |
isEncodable(Object msg) |
newOutboundBufferafterAdd, afterRemove, beforeAdd, beforeRemove, bind, close, connect, deregister, disconnect, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void encode(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.buffer.ByteBuf out)
throws Exception
protected abstract void encodeInitialLine(io.netty.buffer.ByteBuf buf,
HttpMessage message)
throws Exception
ExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.