- getAgreedExtensions() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the agreed extensions.
- getAgreedProtocol() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the agreed protocol.
- getCloseCode() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Parse the first two bytes of the payload as a close code.
- getCloseReason() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Parse the third and subsequent bytes of the payload as a close reason.
- getConnectionTimeout() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the timeout value in milliseconds for socket connection.
- getError() - Method in exception com.neovisionaries.ws.client.WebSocketException
-
- getFin() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the value of FIN bit.
- getFrameQueueSize() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the size of the frame queue.
- getHeaders() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get additional HTTP headers passed to the proxy server.
- getHost() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get the host name of the proxy server.
- getId() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get the ID for authentication at the proxy server.
- getName() - Method in class com.neovisionaries.ws.client.WebSocketExtension
-
Get the extension name.
- getOpcode() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the opcode.
- getParameter(String) - Method in class com.neovisionaries.ws.client.WebSocketExtension
-
Get the value of the specified parameter.
- getParameters() - Method in class com.neovisionaries.ws.client.WebSocketExtension
-
Get the parameters.
- getPassword() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get the password for authentication at the proxy server.
- getPayload() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the unmasked payload.
- getPayloadLength() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the payload length.
- getPayloadText() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the unmasked payload as a text.
- getPingInterval() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the interval of periodical
ping
frames.
- getPongInterval() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the interval of periodical
pong
frames.
- getPort() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get the port number of the proxy server.
- getProxySettings() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the proxy settings.
- getRsv1() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the value of RSV1 bit.
- getRsv2() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the value of RSV2 bit.
- getRsv3() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Get the value of RSV3 bit.
- getSocket() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the raw socket which this web socket uses internally.
- getSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- getSocketFactory() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
- getSSLContext() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- getSSLContext() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
- getSSLSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- getSSLSocketFactory() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
- getState() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the current state of this web socket.
- getURI() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the URI of the web socket endpoint.
- getWebSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- onBinaryFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onBinaryFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a binary frame (opcode = 0x2) was received.
- onBinaryMessage(WebSocket, byte[]) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onBinaryMessage(WebSocket, byte[]) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a binary message was received.
- onCloseFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onCloseFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a close frame (opcode = 0x8) was received.
- onConnected(WebSocket, Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onConnected(WebSocket, Map<String, List<String>>) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called after the opening handshake of the web socket connection succeeded.
- onConnectError(WebSocket, WebSocketException) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onConnectError(WebSocket, WebSocketException) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
- onContinuationFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onContinuationFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a continuation frame (opcode = 0x0) was received.
- onDisconnected(WebSocket, WebSocketFrame, WebSocketFrame, boolean) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onDisconnected(WebSocket, WebSocketFrame, WebSocketFrame, boolean) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called after the web socket connection was closed.
- onError(WebSocket, WebSocketException) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onError(WebSocket, WebSocketException) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Call when an error occurred.
- onFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a frame was received.
- onFrameError(WebSocket, WebSocketException, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onFrameError(WebSocket, WebSocketException, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a frame failed to be read from the web socket.
- onFrameSent(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onFrameSent(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a web socket frame was sent to the server
(but not flushed yet).
- onFrameUnsent(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onFrameUnsent(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a web socket frame was not sent to the server
because a close frame has already been sent.
- onMessageDecompressionError(WebSocket, WebSocketException, byte[]) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onMessageDecompressionError(WebSocket, WebSocketException, byte[]) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when it failed to decompress a message.
- onMessageError(WebSocket, WebSocketException, List<WebSocketFrame>) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onMessageError(WebSocket, WebSocketException, List<WebSocketFrame>) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when it failed to concatenate payloads of multiple frames
to construct a message.
- onPingFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onPingFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a ping frame (opcode = 0x9) was received.
- onPongFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onPongFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a pong frame (opcode = 0xA) was received.
- onSendError(WebSocket, WebSocketException, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onSendError(WebSocket, WebSocketException, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when an error occurred when a frame was tried to be sent
to the server.
- onSendingFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onSendingFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called before a web socket frame is sent.
- onStateChanged(WebSocket, WebSocketState) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onStateChanged(WebSocket, WebSocketState) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called after the state of the web socket changed.
- onTextFrame(WebSocket, WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onTextFrame(WebSocket, WebSocketFrame) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a text frame (opcode = 0x1) was received.
- onTextMessage(WebSocket, String) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onTextMessage(WebSocket, String) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when a text message was received.
- onTextMessageError(WebSocket, WebSocketException, byte[]) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onTextMessageError(WebSocket, WebSocketException, byte[]) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when it failed to convert payload data into a string.
- onUnexpectedError(WebSocket, WebSocketException) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onUnexpectedError(WebSocket, WebSocketException) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called when an uncaught throwable was detected in either the
reading thread (which reads frames from the server) or the
writing thread (which sends frames to the server).
- OVERSIZE - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
-
1009;
1009 indicates that an endpoint is terminating the connection
because it has received a message that is too big for it to
process.
- sendBinary(byte[]) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a binary message to the server.
- sendBinary(byte[], boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a binary frame to the server.
- sendClose() - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a close frame to the server.
- sendClose(int) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a close frame to the server.
- sendClose(int, String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a close frame to the server.
- sendContinuation() - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a continuation frame to the server.
- sendContinuation(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a continuation frame to the server.
- sendContinuation(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a continuation frame to the server.
- sendContinuation(String, boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a continuation frame to the server.
- sendContinuation(byte[]) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a continuation frame to the server.
- sendContinuation(byte[], boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a continuation frame to the server.
- sendFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a web socket frame to the server.
- sendPing() - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a ping frame to the server.
- sendPing(byte[]) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a ping frame to the server.
- sendPing(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a ping frame to the server.
- sendPong() - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a pong frame to the server.
- sendPong(byte[]) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a pong frame to the server.
- sendPong(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a pong frame to the server.
- sendText(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a text message to the server.
- sendText(String, boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Send a text frame to the server.
- setAutoFlush(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Enable or disable auto-flush of sent frames.
- setCloseFramePayload(int, String) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the payload that conforms to the payload format of close frames.
- setConnectionTimeout(int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set the timeout value in milliseconds for socket connection.
- setCredentials(String, String) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set credentials for authentication at the proxy server.
- setExtended(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Allow or disallow extended use of web socket frames.
- setFin(boolean) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the value of FIN bit.
- setFrameQueueSize(int) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the size of the frame queue.
- setHost(String) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the host name of the proxy server.
- setId(String) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the ID for authentication at the proxy server.
- setOpcode(int) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the opcode
- setParameter(String, String) - Method in class com.neovisionaries.ws.client.WebSocketExtension
-
Set a value to the specified parameter.
- setPassword(String) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the password for authentication at the proxy server.
- setPayload(byte[]) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the unmasked payload.
- setPayload(String) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the payload.
- setPingInterval(long) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the interval of periodical
ping
frames.
- setPongInterval(long) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the interval of periodical
pong
frames.
- setPort(int) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the port number of the proxy server.
- setRsv1(boolean) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the value of RSV1 bit.
- setRsv2(boolean) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the value of RSV2 bit.
- setRsv3(boolean) - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Set the value of RSV3 bit.
- setSecure(boolean) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Enable or disable use of TLS.
- setServer(String) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the proxy server by a URI.
- setServer(URL) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the proxy server by a URL.
- setServer(URI) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set the proxy server by a URI.
- setSocketFactory(SocketFactory) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set a socket factory.
- setSocketFactory(SocketFactory) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set a socket factory.
- setSSLContext(SSLContext) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set an SSL context to get a socket factory.
- setSSLContext(SSLContext) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set an SSL context to get a socket factory.
- setSSLSocketFactory(SSLSocketFactory) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set an SSL socket factory.
- setSSLSocketFactory(SSLSocketFactory) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set an SSL socket factory.
- setUserInfo(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the credentials to connect to the web socket endpoint.
- setUserInfo(String, String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the credentials to connect to the web socket endpoint.