public static interface TyrusClientEngine.ClientHandshakeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.lang.Throwable exception)
Called when an error is found in handshake response.
|
void |
onSessionCreated(jakarta.websocket.Session session)
Invoked when handshake is completed and provided
Session is open and ready to be returned from
WebSocketContainer.connectToServer(Class, jakarta.websocket.ClientEndpointConfig, java.net.URI) (and
alternatives) call. |
void onSessionCreated(jakarta.websocket.Session session)
Session is open and ready to be returned from
WebSocketContainer.connectToServer(Class, jakarta.websocket.ClientEndpointConfig, java.net.URI) (and
alternatives) call.session - opened client session.void onError(java.lang.Throwable exception)
exception - error found during handshake response check.Copyright © 2012–2021 Oracle Corporation. All rights reserved.