
@ChannelPipelineCoverage(value="all") public abstract class HttpMessageEncoder extends OneToOneEncoder
HttpMessage or an HttpChunk into
a ChannelBuffer.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpMessageEncoder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
encode(ChannelHandlerContext ctx,
Channel channel,
Object msg) |
protected abstract void |
encodeInitialLine(ChannelBuffer buf,
HttpMessage message) |
handleDownstreamprotected Object encode(ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception
encode in class OneToOneEncoderExceptionprotected abstract void encodeInitialLine(ChannelBuffer buf, HttpMessage message) throws Exception
ExceptionCopyright © 2008-2013 JBoss, by Red Hat. All Rights Reserved.