public interface ServerHandshakeFuture
| Modifier and Type | Method and Description |
|---|---|
void |
notifyError(Throwable throwable)
Notify any error occurred during the handshake.
|
void |
notifySuccess(WebSocketConnection webSocketConnection)
Notify the success of the WebSocket handshake.
|
ServerHandshakeFuture |
setHandshakeListener(ServerHandshakeListener serverHandshakeListener)
Set the listener for WebSocket handshake.
|
ServerHandshakeFuture setHandshakeListener(ServerHandshakeListener serverHandshakeListener)
serverHandshakeListener - Listener for WebSocket handshake.void notifySuccess(WebSocketConnection webSocketConnection)
webSocketConnection - WebSocketConnection for the successful connection.void notifyError(Throwable throwable)
throwable - error occurred during handshake.Copyright © 2022 WSO2. All rights reserved.