@ChannelHandler.Sharable
public class WebSocketHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
WebSocketHandler(String handshakePath,
boolean secure,
int maxWebSocketFrameSize,
String remoteAddressHeader) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected TransportType |
getTransportType() |
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected TransportType getTransportType()
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2012–2016. All rights reserved.