| Modifier and Type | Field and Description |
|---|---|
| private ChannelHandlerContext | |
| private static final long | |
| private Promise | |
| private final WebSocketClientHandshaker | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | WebSocketClientProtocolHandshakeHandler(WebSocketClientHandshaker handshaker, long handshakeTimeoutMillis)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | channelActive(final ChannelHandlerContext ctx)
Overrides default io. Channel of the ChannelHandlerContext is now active
|
| public void | channelInactive(ChannelHandlerContext ctx)
Overrides default io. Channel of the ChannelHandlerContext was registered is now inactive and reached its
end of lifetime.
|
| public void | channelRead(ChannelHandlerContext ctx, Object msg)
Overrides default io. Channel has read a message from the peer.
|
| pack-priv Future | |
| public void | handlerAdded(ChannelHandlerContext ctx)
Overrides default io. ChannelHandler was added to the actual context and it's ready to handle events.
|
| ctx | back to summary |
|---|---|
| private ChannelHandlerContext ctx | |
| DEFAULT_HANDSHAKE_TIMEOUT_MS | back to summary |
|---|---|
| private static final long DEFAULT_HANDSHAKE_TIMEOUT_MS | |
| handshakePromise | back to summary |
|---|---|
| private Promise<Void> handshakePromise | |
| handshaker | back to summary |
|---|---|
| private final WebSocketClientHandshaker handshaker | |
| handshakeTimeoutMillis | back to summary |
|---|---|
| private final long handshakeTimeoutMillis | |
| WebSocketClientProtocolHandshakeHandler | back to summary |
|---|---|
| pack-priv WebSocketClientProtocolHandshakeHandler(WebSocketClientHandshaker handshaker) | |
| WebSocketClientProtocolHandshakeHandler | back to summary |
|---|---|
| pack-priv WebSocketClientProtocolHandshakeHandler(WebSocketClientHandshaker handshaker, long handshakeTimeoutMillis) | |
| applyHandshakeTimeout | back to summary |
|---|---|
| private void applyHandshakeTimeout() | |
| channelActive | back to summary |
|---|---|
| public void channelActive(final ChannelHandlerContext ctx) throws Exception Overrides default io. Doc from io. The
| |
| channelInactive | back to summary |
|---|---|
| public void channelInactive(ChannelHandlerContext ctx) throws Exception Overrides default io. Doc from io. The
| |
| channelRead | back to summary |
|---|---|
| public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception Overrides default io. Doc from io. Invoked when the current
| |
| getHandshakeFuture | back to summary |
|---|---|
| pack-priv Future This method is visible for testing. | |
| handlerAdded | back to summary |
|---|---|
| public void handlerAdded(ChannelHandlerContext ctx) throws Exception Overrides default io. Doc from io. Gets called after the
| |