public class WebSocketHttpResponseDecoder
extends org.jboss.netty.handler.codec.replay.ReplayingDecoder<org.jboss.netty.handler.codec.replay.VoidEnum>
| Constructor and Description |
|---|
WebSocketHttpResponseDecoder(Handshake handshake) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer,
org.jboss.netty.handler.codec.replay.VoidEnum state) |
protected org.jboss.netty.handler.codec.http.HttpResponse |
readHeaders(org.jboss.netty.handler.codec.http.HttpResponse response,
org.jboss.netty.buffer.ChannelBuffer buffer) |
protected void |
readResponseBody(org.jboss.netty.handler.codec.http.HttpResponse response,
org.jboss.netty.buffer.ChannelBuffer buffer) |
checkpoint, checkpoint, cleanup, decode, decodeLast, decodeLast, getState, internalBuffer, messageReceived, setStateactualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, exceptionCaught, extractFrame, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, isUnfold, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulationpublic WebSocketHttpResponseDecoder(Handshake handshake)
protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer buffer, org.jboss.netty.handler.codec.replay.VoidEnum state) throws Exception
decode in class org.jboss.netty.handler.codec.replay.ReplayingDecoder<org.jboss.netty.handler.codec.replay.VoidEnum>Exceptionprotected org.jboss.netty.handler.codec.http.HttpResponse readHeaders(org.jboss.netty.handler.codec.http.HttpResponse response,
org.jboss.netty.buffer.ChannelBuffer buffer)
protected void readResponseBody(org.jboss.netty.handler.codec.http.HttpResponse response,
org.jboss.netty.buffer.ChannelBuffer buffer)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.