public class WebSocketServerHandler extends io.netty.channel.SimpleChannelInboundHandler<Object>
Constructor and Description |
---|
WebSocketServerHandler(List<String> supportedProtocols) |
Modifier and Type | Method and Description |
---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
io.netty.handler.codec.http.HttpRequest |
getHttpRequest() |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public void channelRead0(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public io.netty.handler.codec.http.HttpRequest getHttpRequest()
Copyright © 2016 The Apache Software Foundation. All rights reserved.