| Package | Description |
|---|---|
| org.glassfish.tyrus.websockets |
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
ProtocolHandler.connection |
| Modifier and Type | Method and Description |
|---|---|
Connection |
WebSocketRequest.getConnection() |
Connection |
ProtocolHandler.getConnection() |
| Modifier and Type | Method and Description |
|---|---|
WebSocket |
WebSocketEngine.getWebSocket(Connection connection)
Get the
WebSocket associated with the Grizzly Connection, or null, if there none is
associated. |
WebSocketEngine.WebSocketHolder |
WebSocketEngine.getWebSocketHolder(Connection connection) |
HandShake |
ProtocolHandler.handshake(Connection connection,
WebSocketApplication app,
WebSocketRequest request) |
void |
Connection.CloseListener.onClose(Connection connection) |
void |
ProtocolHandler.setConnection(Connection handler) |
WebSocketEngine.WebSocketHolder |
WebSocketEngine.setWebSocketHolder(Connection connection,
ProtocolHandler handler,
WebSocket socket) |
boolean |
WebSocketEngine.upgrade(Connection connection,
WebSocketRequest request)
Evaluate whether connection/request is suitable for upgrade and perform it.
|
boolean |
WebSocketEngine.upgrade(Connection connection,
WebSocketRequest request,
WebSocketEngine.WebSocketHolderListener webSocketHolderListener)
Evaluate whether connection/request is suitable for upgrade and perform it.
|
boolean |
WebSocketEngine.webSocketInProgress(Connection connection)
Returns true if passed Grizzly
Connection is associated with a WebSocket, or
false otherwise. |
Copyright © 2012-2013. All Rights Reserved.