public final class WebSocketServerProtocolHandler extends ChannelInboundHandlerAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketServerProtocolHandler.Builder |
ChannelHandler.Sharable| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(ChannelHandlerContext ctx) |
void |
channelRead(ChannelHandlerContext ctx,
Object msg) |
static WebSocketServerProtocolHandler.Builder |
create() |
void |
handlerAdded(ChannelHandlerContext ctx) |
ChannelFuture |
handshakeCompleted() |
boolean |
isSharable() |
<T extends WebSocketCallbacksHandler> |
webSocketHandler() |
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerRemovedpublic static WebSocketServerProtocolHandler.Builder create()
public <T extends WebSocketCallbacksHandler> T webSocketHandler()
public ChannelFuture handshakeCompleted()
public boolean isSharable()
isSharable in class ChannelHandlerAdapterpublic void handlerAdded(ChannelHandlerContext ctx)
handlerAdded in interface ChannelHandlerhandlerAdded in class ChannelHandlerAdapterpublic void channelInactive(ChannelHandlerContext ctx) throws Exception
channelInactive in interface ChannelInboundHandlerchannelInactive in class ChannelInboundHandlerAdapterExceptionpublic void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception
channelRead in interface ChannelInboundHandlerchannelRead in class ChannelInboundHandlerAdapterException