public static interface TyrusClientEngine.ClientHandshakeListener
Modifier and Type | Method and Description |
---|---|
void |
onError(Throwable exception)
Called when an error is found in handshake response.
|
void |
onSessionCreated(Session session)
Invoked when handshake is completed and provided
Session is open and ready to be
returned from WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig, java.net.URI)
(and alternatives) call. |
void onSessionCreated(Session session)
Session
is open and ready to be
returned from WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig, java.net.URI)
(and alternatives) call.session
- opened client session.void onError(Throwable exception)
exception
- error found during handshake response check.Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.