public final class WebSocketClientHandler
extends WebSocketClientProtocolHandler
WebSocketClientProtocolHandler. This wrapper provides a future which represents the termination
 of a WS handshake (both success and failure).| Modifier and Type | Class and Description | 
|---|---|
static class  | 
WebSocketClientHandler.InterceptedWebSocketClientHandshaker13
Extension to the Netty implementation that allows for the  
WebSocketClientHandler.InterceptedWebSocketClientHandshaker13.newHandshakeRequest() to be modified by way
 of a HandshakeInterceptor that is supplied to the Cluster when it is created. | 
| Constructor and Description | 
|---|
WebSocketClientHandler(WebSocketClientHandshaker handshaker,
                      long timeoutMillis)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
channelInactive(ChannelHandlerContext ctx)  | 
void | 
exceptionCaught(ChannelHandlerContext ctx,
               Throwable cause)  | 
void | 
handlerAdded(ChannelHandlerContext ctx)  | 
ChannelFuture | 
handshakeFuture()  | 
void | 
userEventTriggered(ChannelHandlerContext ctx,
                  Object event)  | 
public WebSocketClientHandler(WebSocketClientHandshaker handshaker,
                              long timeoutMillis)
public ChannelFuture handshakeFuture()
public void handlerAdded(ChannelHandlerContext ctx)
public void exceptionCaught(ChannelHandlerContext ctx,
                            Throwable cause)
                     throws Exception
Exceptionpublic void channelInactive(ChannelHandlerContext ctx)
                     throws Exception
ExceptionCopyright © 2013–2021 Apache Software Foundation. All rights reserved.