Package org.glassfish.grizzly.websockets
Class WebSocketHolder
java.lang.Object
org.glassfish.grizzly.websockets.WebSocketHolder
WebSocketHolder object, which gets associated with the Grizzly
Connection.-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.glassfish.grizzly.Buffer -
Method Summary
Modifier and TypeMethodDescriptionstatic WebSocketHolderget(org.glassfish.grizzly.Connection connection) static WebSocketgetWebSocket(org.glassfish.grizzly.Connection connection) static booleanisWebSocketInProgress(org.glassfish.grizzly.Connection connection) static WebSocketHolderset(org.glassfish.grizzly.Connection connection, ProtocolHandler handler, WebSocket socket)
-
Field Details
-
webSocket
-
handshake
-
application
-
buffer
public volatile org.glassfish.grizzly.Buffer buffer -
handler
-
-
Method Details
-
isWebSocketInProgress
public static boolean isWebSocketInProgress(org.glassfish.grizzly.Connection connection) -
getWebSocket
-
get
-
set
public static WebSocketHolder set(org.glassfish.grizzly.Connection connection, ProtocolHandler handler, WebSocket socket)
-