- onClose(int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
-
- onClose(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
-
Called after the websocket connection has been closed.
- onCloseInitiated(int, String) - Method in class org.java_websocket.client.WebSocketClient
-
- onCloseInitiated(WebSocket, int, String) - Method in class org.java_websocket.server.WebSocketServer
-
- onClosing(int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
-
- onClosing(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
-
- onConnect(SelectionKey) - Method in class org.java_websocket.server.WebSocketServer
-
Returns whether a new connection shall be accepted or not.
Therefore method is well suited to implement some kind of connection limitation.
- onError(Exception) - Method in class org.java_websocket.client.WebSocketClient
-
- onError(WebSocket, Exception) - Method in class org.java_websocket.server.WebSocketServer
-
Called when errors occurs.
- onMessage(String) - Method in class org.java_websocket.client.WebSocketClient
-
- onMessage(ByteBuffer) - Method in class org.java_websocket.client.WebSocketClient
-
- onMessage(WebSocket, String) - Method in class org.java_websocket.server.WebSocketServer
-
Callback for string messages received from the remote host
- onMessage(WebSocket, ByteBuffer) - Method in class org.java_websocket.server.WebSocketServer
-
Callback for binary messages received from the remote host
- onOpen(ServerHandshake) - Method in class org.java_websocket.client.WebSocketClient
-
- onOpen(WebSocket, ClientHandshake) - Method in class org.java_websocket.server.WebSocketServer
-
Called after an opening handshake has been performed and the given websocket is ready to be written on.
- onWebsocketClose(WebSocket, int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onClose.
- onWebsocketClose(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketClose(WebSocket, int, String, boolean) - Method in interface org.java_websocket.WebSocketListener
-
Called after WebSocket#close is explicity called, or when the
other end of the WebSocket connection is closed.
- onWebsocketCloseInitiated(WebSocket, int, String) - Method in class org.java_websocket.client.WebSocketClient
-
- onWebsocketCloseInitiated(WebSocket, int, String) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketCloseInitiated(WebSocket, int, String) - Method in interface org.java_websocket.WebSocketListener
-
send when this peer sends a close handshake
- onWebsocketClosing(WebSocket, int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
-
- onWebsocketClosing(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketClosing(WebSocket, int, String, boolean) - Method in interface org.java_websocket.WebSocketListener
-
called as soon as no further frames are accepted
- onWebsocketError(WebSocket, Exception) - Method in class org.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onIOError.
- onWebsocketError(WebSocket, Exception) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketError(WebSocket, Exception) - Method in interface org.java_websocket.WebSocketListener
-
Called if an exception worth noting occurred.
- onWebsocketHandshakeReceivedAsClient(WebSocket, ClientHandshake, ServerHandshake) - Method in class org.java_websocket.WebSocketAdapter
-
- onWebsocketHandshakeReceivedAsClient(WebSocket, ClientHandshake, ServerHandshake) - Method in interface org.java_websocket.WebSocketListener
-
Called on the client side when the socket connection is first established, and the WebSocketImpl
handshake response has been received.
- onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake) - Method in class org.java_websocket.WebSocketAdapter
-
This default implementation does not do anything.
- onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake) - Method in interface org.java_websocket.WebSocketListener
-
Called on the server side when the socket connection is first established, and the WebSocket
handshake has been received.
- onWebsocketHandshakeSentAsClient(WebSocket, ClientHandshake) - Method in class org.java_websocket.WebSocketAdapter
-
This default implementation does not do anything which will cause the connections to always progress.
- onWebsocketHandshakeSentAsClient(WebSocket, ClientHandshake) - Method in interface org.java_websocket.WebSocketListener
-
Called on the client side when the socket connection is first established, and the WebSocketImpl
handshake has just been sent.
- onWebsocketMessage(WebSocket, String) - Method in class org.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onMessage.
- onWebsocketMessage(WebSocket, ByteBuffer) - Method in class org.java_websocket.client.WebSocketClient
-
- onWebsocketMessage(WebSocket, String) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketMessage(WebSocket, ByteBuffer) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketMessage(WebSocket, String) - Method in interface org.java_websocket.WebSocketListener
-
Called when an entire text frame has been received.
- onWebsocketMessage(WebSocket, ByteBuffer) - Method in interface org.java_websocket.WebSocketListener
-
Called when an entire binary frame has been received.
- onWebsocketMessageFragment(WebSocket, Framedata) - Method in class org.java_websocket.WebSocketAdapter
-
This default implementation does not do anything.
- onWebsocketMessageFragment(WebSocket, Framedata) - Method in interface org.java_websocket.WebSocketListener
-
- onWebsocketOpen(WebSocket, Handshakedata) - Method in class org.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onOpen.
- onWebsocketOpen(WebSocket, Handshakedata) - Method in class org.java_websocket.server.WebSocketServer
-
- onWebsocketOpen(WebSocket, Handshakedata) - Method in interface org.java_websocket.WebSocketListener
-
Called after onHandshakeReceived returns true.
- onWebsocketPing(WebSocket, Framedata) - Method in class org.java_websocket.WebSocketAdapter
-
This default implementation will send a pong in response to the received ping.
- onWebsocketPing(WebSocket, Framedata) - Method in interface org.java_websocket.WebSocketListener
-
Called a ping frame has been received.
- onWebsocketPong(WebSocket, Framedata) - Method in class org.java_websocket.WebSocketAdapter
-
This default implementation does not do anything.
- onWebsocketPong(WebSocket, Framedata) - Method in interface org.java_websocket.WebSocketListener
-
Called when a pong frame is received.
- onWriteDemand(WebSocket) - Method in class org.java_websocket.client.WebSocketClient
-
- onWriteDemand(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
-
- onWriteDemand(WebSocket) - Method in interface org.java_websocket.WebSocketListener
-
This method is used to inform the selector thread that there is data queued to be written to the socket.
- optcode - Variable in class org.java_websocket.framing.FramedataImpl1
-
- org.java_websocket - package org.java_websocket
-
- org.java_websocket.client - package org.java_websocket.client
-
- org.java_websocket.drafts - package org.java_websocket.drafts
-
- org.java_websocket.exceptions - package org.java_websocket.exceptions
-
- org.java_websocket.framing - package org.java_websocket.framing
-
- org.java_websocket.handshake - package org.java_websocket.handshake
-
- org.java_websocket.server - package org.java_websocket.server
-
- org.java_websocket.util - package org.java_websocket.util
-
- outCrypt - Variable in class org.java_websocket.SSLSocketChannel2
-
encrypted data outgoing
- outQueue - Variable in class org.java_websocket.WebSocketImpl
-
Queue of buffers that need to be sent to the client.
- valueOf(String) - Static method in enum org.java_websocket.drafts.Draft.CloseHandshakeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.java_websocket.drafts.Draft.HandshakeState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.java_websocket.framing.Framedata.Opcode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.java_websocket.WebSocket.READYSTATE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.java_websocket.WebSocket.Role
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.java_websocket.drafts.Draft.CloseHandshakeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.java_websocket.drafts.Draft.HandshakeState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.java_websocket.framing.Framedata.Opcode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.java_websocket.WebSocket.READYSTATE
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.java_websocket.WebSocket.Role
-
Returns an array containing the constants of this enum type, in
the order they are declared.