public class ESHttpResponseEncoder
extends org.jboss.netty.handler.codec.http.HttpResponseEncoder
HttpResponseEncoder and makes sure that if the resulting
channel buffer is composite, it will use the correct gathering flag. See more
at NettyUtils.DEFAULT_GATHERING.| Constructor and Description |
|---|
ESHttpResponseEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
java.lang.Object msg) |
encodeInitialLineprotected java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
java.lang.Object msg)
throws java.lang.Exception
encode in class org.jboss.netty.handler.codec.http.HttpMessageEncoderjava.lang.Exception