public class SwitchingHttpResponseDecoder
extends org.jboss.netty.handler.codec.http.HttpResponseDecoder
Constructor and Description |
---|
SwitchingHttpResponseDecoder() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel ch,
org.jboss.netty.buffer.ChannelBuffer buf,
org.jboss.netty.handler.codec.http.HttpMessageDecoder.State state) |
void |
setSwitch(java.lang.String name,
org.jboss.netty.channel.ChannelHandler switchTo) |
createMessage, isDecodingRequest
isContentAlwaysEmpty
checkpoint, checkpoint, cleanup, decode, decodeLast, decodeLast, getState, internalBuffer, messageReceived, setState
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, exceptionCaught, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, isUnfold, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulation
public void setSwitch(java.lang.String name, org.jboss.netty.channel.ChannelHandler switchTo)
protected java.lang.Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel ch, org.jboss.netty.buffer.ChannelBuffer buf, org.jboss.netty.handler.codec.http.HttpMessageDecoder.State state) throws java.lang.Exception
decode
in class org.jboss.netty.handler.codec.http.HttpMessageDecoder
java.lang.Exception