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, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic 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.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic io.netty.handler.codec.http.HttpRequest getHttpRequest()
Copyright © 2024 The Apache Software Foundation. All rights reserved.