public final class WebSocketClientHandler
extends WebSocketClientProtocolHandler
WebSocketClientProtocolHandler
. This wrapper provides a future which represents the termination
of a WS handshake (both success and failure).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
Exception
public void channelInactive(ChannelHandlerContext ctx) throws Exception
Exception
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.