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