public final class WebSocketHolder extends Object
Connection
.Modifier and Type | Field and Description |
---|---|
WebSocketApplication |
application |
Buffer |
buffer |
ProtocolHandler |
handler |
HandShake |
handshake |
WebSocket |
webSocket |
Modifier and Type | Method and Description |
---|---|
static WebSocketHolder |
get(Connection connection) |
static WebSocket |
getWebSocket(Connection connection) |
static boolean |
isWebSocketInProgress(Connection connection) |
static WebSocketHolder |
set(Connection connection,
ProtocolHandler handler,
WebSocket socket) |
public volatile WebSocket webSocket
public volatile HandShake handshake
public volatile WebSocketApplication application
public volatile Buffer buffer
public volatile ProtocolHandler handler
public static boolean isWebSocketInProgress(Connection connection)
public static WebSocket getWebSocket(Connection connection)
public static WebSocketHolder get(Connection connection)
public static WebSocketHolder set(Connection connection, ProtocolHandler handler, WebSocket socket)
Copyright © 2015 Oracle Corporation. All rights reserved.