| Package | Description |
|---|---|
| org.glassfish.tyrus.websockets | |
| org.glassfish.tyrus.websockets.draft06 |
| Modifier and Type | Method and Description |
|---|---|
void |
HandShake.HandShakeResponseListener.onError(HandshakeException exception)
Called when an error is found in handshake response.
|
| Modifier and Type | Method and Description |
|---|---|
static SecKey |
SecKey.generateServerKey(SecKey clientKey)
Generate server-side security key, which gets passed to the client during
the handshake phase as part of message payload.
|
protected void |
WebSocketApplication.handshake(HandShake handshake)
This method will be called, when initial
WebSocket handshake
process has been completed, but allows the application to perform further
negotiation/validation. |
abstract void |
WebSocketEngine.WebSocketHolderListener.onWebSocketHolder(WebSocketEngine.WebSocketHolder webSocketHolder)
Called when request is ready to upgrade.
|
boolean |
WebSocketEngine.upgrade(Connection connection,
WebSocketRequest request,
WebSocketEngine.WebSocketHolderListener webSocketHolderListener)
Evaluate whether connection/request is suitable for upgrade and perform it.
|
| Modifier and Type | Method and Description |
|---|---|
static SecKey |
SecKey.generateServerKey(SecKey clientKey)
Generate server-side security key, which gets passed to the client during
the handshake phase as part of message payload.
|
void |
HandShake06.validateServerResponse(WebSocketResponse response) |
Copyright © 2012-2013. All Rights Reserved.