@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) |
handleDownstream
protected Object encode(ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception
encode
in class OneToOneEncoder
Exception
protected abstract void encodeInitialLine(ChannelBuffer buf, HttpMessage message) throws Exception
Exception
Copyright © 2008-2012 JBoss, by Red Hat. All Rights Reserved.