@ChannelHandler.Sharable public class NettyHttpRequestHandler extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.netty.handler.codec.http.websocketx.WebSocketServerHandshaker |
handshaker |
protected NettyWebSocketServerTransport |
serverTransport |
| Constructor and Description |
|---|
NettyHttpRequestHandler(NettyWebSocketServerTransport serverTransport) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
protected final NettyWebSocketServerTransport serverTransport
protected org.jboss.netty.handler.codec.http.websocketx.WebSocketServerHandshaker handshaker
public NettyHttpRequestHandler(NettyWebSocketServerTransport serverTransport)
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e) throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerExceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e) throws Exception
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerExceptionCopyright © 2012–2014. All rights reserved.