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, isDecodingRequestisContentAlwaysEmptycheckpoint, checkpoint, cleanup, decode, decodeLast, decodeLast, getState, internalBuffer, messageReceived, setStateactualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, exceptionCaught, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, isUnfold, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulationpublic 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.HttpMessageDecoderjava.lang.Exception