| Modifier and Type | Method and Description |
|---|---|
WebSocketConnection |
WebSocketMessage.getWebSocketConnection()
Retrieve the session of the connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServerHandshakeFuture.notifySuccess(WebSocketConnection webSocketConnection)
Notify the success of the WebSocket handshake.
|
void |
ClientHandshakeFuture.notifySuccess(WebSocketConnection webSocketConnection,
HttpCarbonResponse response)
Notify the success of the WebSocket handshake.
|
void |
WebSocketConnectorFuture.notifyWebSocketListener(WebSocketConnection webSocketConnection)
Notify incoming WebSocket connection closure for the listener.
|
void |
WebSocketConnectorFuture.notifyWebSocketListener(WebSocketConnection webSocketConnection,
Throwable throwable)
Notify any error occurred in transport for the listener.
|
void |
WebSocketConnectorListener.onClose(WebSocketConnection webSocketConnection)
This lets the listener know when the connection closes.
|
void |
WebSocketConnectorListener.onError(WebSocketConnection webSocketConnection,
Throwable throwable)
Trigger any transport error.
|
void |
ServerHandshakeListener.onSuccess(WebSocketConnection webSocketConnection)
Notify the success of the handshake.
|
void |
ClientHandshakeListener.onSuccess(WebSocketConnection webSocketConnection,
HttpCarbonResponse response)
Notify the success of the handshake.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultWebSocketConnection
Default implementation of
WebSocketConnection. |
| Modifier and Type | Field and Description |
|---|---|
protected WebSocketConnection |
DefaultWebSocketMessage.webSocketConnection |
| Modifier and Type | Method and Description |
|---|---|
WebSocketConnection |
DefaultWebSocketMessage.getWebSocketConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultServerHandshakeFuture.notifySuccess(WebSocketConnection webSocketConnection) |
void |
DefaultClientHandshakeFuture.notifySuccess(WebSocketConnection webSocketConnection,
HttpCarbonResponse response) |
void |
DefaultWebSocketConnectorFuture.notifyWebSocketListener(WebSocketConnection webSocketConnection) |
void |
DefaultWebSocketConnectorFuture.notifyWebSocketListener(WebSocketConnection webSocketConnection,
Throwable throwable) |
void |
DefaultWebSocketMessage.setWebSocketConnection(WebSocketConnection webSocketConnection) |
| Modifier and Type | Method and Description |
|---|---|
WebSocketConnection |
DefaultWebSocketHandshaker.getWebSocketConnection() |
Copyright © 2021 WSO2. All rights reserved.