Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
O
- onClose(DataFrame) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onClose(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when the remote end-point sent a closing frame.
- onClose(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onClose(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
-
When a
WebSocket.onClose(DataFrame)is invoked, theWebSocketwill be unassociated with this application and closed. - onClose(WebSocket, DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onClose(DataFrame)has been called on a particularWebSocketinstance. - onConnect() - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onConnect() - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when the opening handshake between both endpoints has been completed.
- onConnect(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onConnect(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
- onConnect(WebSocket) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when the opening handshake has been completed for a specific
WebSocketinstance. - onError(WebSocket, Throwable) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
-
This method will be invoked if an unexpected exception is caught by the WebSocket runtime.
- onExtensionNegotiation(List<Extension>) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
-
Invoked during the handshake if the client has advertised extensions it may use and one or more extensions intersect with those returned by
WebSocketApplication.getSupportedExtensions(). - onFragment(boolean, byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onFragment(boolean, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when a fragmented binary message has been received.
- onFragment(boolean, String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onFragment(boolean, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when a fragmented textual message has been received.
- onFragment(WebSocket, byte[], boolean) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onFragment(WebSocket, byte[], boolean) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onFragment(boolean, byte[])has been called on a particularWebSocketinstance. - onFragment(WebSocket, String, boolean) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onFragment(WebSocket, String, boolean) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onFragment(boolean, String)has been called on a particularWebSocketinstance. - onHandshakeFailure(Connection, HandshakeException) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
-
The method is called when WebSocket handshake fails for the
Connection. - onMessage(byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onMessage(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when a binary message has been received.
- onMessage(String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onMessage(String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when a text message has been received.
- onMessage(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onMessage(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onMessage(String)has been called on a particularWebSocketinstance. - onMessage(WebSocket, String) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onMessage(WebSocket, String) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onMessage(String)has been called on a particularWebSocketinstance. - onPing(DataFrame) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onPing(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when the remote end-point has sent a ping frame.
- onPing(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onPing(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onPing(DataFrame)has been called on a particularWebSocketinstance. - onPong(DataFrame) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
- onPong(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
-
This callback will be invoked when the remote end-point has sent a pong frame.
- onPong(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
- onPong(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
-
Invoked when
WebSocket.onPong(DataFrame)has been called on a particularWebSocketinstance. - OptimizedBroadcaster - Class in org.glassfish.grizzly.websockets
-
The default
Broadcasteroptimized to send the same text to a set of clients. - OptimizedBroadcaster() - Constructor for class org.glassfish.grizzly.websockets.OptimizedBroadcaster
- org.glassfish.grizzly.websockets - module org.glassfish.grizzly.websockets
- org.glassfish.grizzly.websockets - package org.glassfish.grizzly.websockets
- org.glassfish.grizzly.websockets.frametypes - package org.glassfish.grizzly.websockets.frametypes
- org.glassfish.grizzly.websockets.glassfish - package org.glassfish.grizzly.websockets.glassfish
- org.glassfish.grizzly.websockets.rfc6455 - package org.glassfish.grizzly.websockets.rfc6455
- ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.Constants
- outFragmentedType - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form