- generate() - Method in interface com.neovisionaries.ws.client.PayloadGenerator
-
Generate a payload of a frame.
- 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.
- getBody() - Method in exception com.neovisionaries.ws.client.OpeningHandshakeException
-
Get the response body contained in the WebSocket opening handshake
response from the server.
- 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.
- getConnectedSocket() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the raw socket which this WebSocket uses internally.
- getConnectionTimeout() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the timeout value in milliseconds for socket connection.
- getDualStackFallbackDelay() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the dual stack fallback delay in milliseconds that will be applied
when establishing a socket connection.
- getDualStackMode() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the dual stack mode that will be applied when establishing a 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 exception com.neovisionaries.ws.client.OpeningHandshakeException
-
Get the HTTP headers contained in the WebSocket opening handshake
response from the server.
- 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.
- getHostname() - Method in exception com.neovisionaries.ws.client.HostnameUnverifiedException
-
Get the expected hostname.
- getHttpVersion() - Method in class com.neovisionaries.ws.client.StatusLine
-
Get the HTTP version.
- getId() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get the ID for authentication at the proxy server.
- getMaxPayloadSize() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the maximum payload size.
- 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.
- getPingPayloadGenerator() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the generator of payload of ping frames that are sent automatically.
- getPingSenderName() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the name of the Timer
that sends ping frames periodically.
- getPongInterval() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the interval of periodical
pong
frames.
- getPongPayloadGenerator() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the generator of payload of pong frames that are sent automatically.
- getPongSenderName() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the name of the Timer
that sends pong frames periodically.
- 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.
- getReasonPhrase() - Method in class com.neovisionaries.ws.client.StatusLine
-
Get the reason phrase.
- 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.
- getServerNames() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Get server names for SNI (Server Name Indication).
- getServerNames() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get server names for SNI (Server Name Indication).
- getSocket() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the raw socket which this WebSocket uses internally if it has been
established, yet.
- getSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- getSocketFactory() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
- getSocketTimeout() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the timeout value in milliseconds for socket read and write operations.
- getSSLContext() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- getSSLContext() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
- getSSLSocket() - Method in exception com.neovisionaries.ws.client.HostnameUnverifiedException
-
Get the SSL socket against which the hostname verification failed.
- 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 WebSocket.
- getStatusCode() - Method in class com.neovisionaries.ws.client.StatusLine
-
Get the status code.
- getStatusLine() - Method in exception com.neovisionaries.ws.client.OpeningHandshakeException
-
Get the status line contained in the WebSocket opening handshake
response from the server.
- getURI() - Method in class com.neovisionaries.ws.client.WebSocket
-
Get the URI of the WebSocket endpoint.
- getVerifyHostname() - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Get the flag which indicates whether the hostname in the
server's certificate should be verified or not.
- getWebSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
-
- INCONSISTENT - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
-
1007;
1007 indicates that an endpoint is terminating the connection
because it has received data within a message that was not
consistent with the type of the message (e.g., non-UTF-8
[RFC3629] data
within a text message).
- INSECURE - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
-
1015;
1015 is a reserved value and MUST NOT be set as a status code in a
Close control frame by an endpoint. It is designated for use in
applications expecting a status code to indicate that the
connection was closed due to a failure to perform a TLS handshake
(e.g., the server certificate can't be verified).
- isAutoFlush() - Method in class com.neovisionaries.ws.client.WebSocket
-
- isBinaryFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a binary frame.
- isCloseFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a close frame.
- isContinuationFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a continuation frame.
- isControlFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a control frame.
- isDataFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a data frame.
- isDirectTextMessage() - Method in class com.neovisionaries.ws.client.WebSocket
-
Check if text messages are passed to listeners without string conversion.
- isExtended() - Method in class com.neovisionaries.ws.client.WebSocket
-
Check if extended use of WebSocket frames are allowed.
- isMissingCloseFrameAllowed() - Method in class com.neovisionaries.ws.client.WebSocket
-
Check if this instance allows the server to close the WebSocket
connection without sending a
close frame
to this client.
- isOpen() - Method in class com.neovisionaries.ws.client.WebSocket
-
Check if the current state of this WebSocket is
OPEN
.
- isPingFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a ping frame.
- isPongFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a pong frame.
- isSecure() - Method in class com.neovisionaries.ws.client.ProxySettings
-
Check whether use of TLS is enabled or disabled.
- isTextFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
-
Check if this frame is a text frame.
- 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
-
- 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 WebSocket 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 WebSocket 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 WebSocket frame failed to be read from the WebSocket.
- 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 WebSocket 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 WebSocket 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 a message failed to be decompressed.
- 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 WebSocket frame is sent.
- onSendingHandshake(WebSocket, String, List<String[]>) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onSendingHandshake(WebSocket, String, List<String[]>) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called before an opening handshake is sent to the server.
- 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 WebSocket 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, byte[]) - 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.
- onTextMessage(WebSocket, byte[]) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
- 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.
- onThreadCreated(WebSocket, ThreadType, Thread) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onThreadCreated(WebSocket, ThreadType, Thread) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called between after a thread is created and before the thread's
start()
method is called.
- onThreadStarted(WebSocket, ThreadType, Thread) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onThreadStarted(WebSocket, ThreadType, Thread) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called at the very beginning of the thread's run()
method implementation.
- onThreadStopping(WebSocket, ThreadType, Thread) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
-
- onThreadStopping(WebSocket, ThreadType, Thread) - Method in interface com.neovisionaries.ws.client.WebSocketListener
-
Called at the very end of the thread's run()
method implementation.
- 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).
- OpeningHandshakeException - Exception in com.neovisionaries.ws.client
-
An exception raised due to a violation against the WebSocket protocol.
- 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 WebSocket 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.
- setDirectTextMessage(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set whether to receive text messages directly as byte arrays without
string conversion.
- setDualStackFallbackDelay(int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set the dual stack fallback delay in milliseconds that will be applied
when establishing a socket connection.
- setDualStackMode(DualStackMode) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set the dual stack mode that will be applied when establishing a socket
connection.
- setExtended(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Allow or disallow extended use of WebSocket 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.
- setMaxPayloadSize(int) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the maximum payload size.
- setMissingCloseFrameAllowed(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set whether to allow the server to close the WebSocket connection
without sending a
close frame
to this client.
- 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.
- setPingPayloadGenerator(PayloadGenerator) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the generator of payload of ping frames that are sent automatically.
- setPingSenderName(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the name of the Timer
that sends ping frames periodically.
- setPongInterval(long) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the interval of periodical
pong
frames.
- setPongPayloadGenerator(PayloadGenerator) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the generator of payload of pong frames that are sent automatically.
- setPongSenderName(String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the name of the Timer
that sends pong frames periodically.
- 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.
- setServerName(String) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set a server name for SNI (Server Name Indication).
- setServerName(String) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set a server name for SNI (Server Name Indication).
- setServerNames(String[]) - Method in class com.neovisionaries.ws.client.ProxySettings
-
Set server names for SNI (Server Name Indication).
- setServerNames(String[]) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set server names for SNI (Server Name Indication).
- 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.
- setSocketTimeout(int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set the timeout value in milliseconds for socket read and write operations.
- 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 WebSocket endpoint.
- setUserInfo(String, String) - Method in class com.neovisionaries.ws.client.WebSocket
-
Set the credentials to connect to the WebSocket endpoint.
- setVerifyHostname(boolean) - Method in class com.neovisionaries.ws.client.WebSocketFactory
-
Set the flag which indicates whether the hostname in the
server's certificate should be verified or not.
- SocketInitiator - Class in com.neovisionaries.ws.client
-
Lets multiple sockets race the given IP addresses until one has been
established.
- SocketInitiator(SocketFactory, Address, int, String[], DualStackMode, int) - Constructor for class com.neovisionaries.ws.client.SocketInitiator
-
- StatusLine - Class in com.neovisionaries.ws.client
-
HTTP status line returned from an HTTP server.
- valueOf(String) - Static method in enum com.neovisionaries.ws.client.DualStackMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.neovisionaries.ws.client.ThreadType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.neovisionaries.ws.client.WebSocketError
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.neovisionaries.ws.client.WebSocketState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.neovisionaries.ws.client.DualStackMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.neovisionaries.ws.client.ThreadType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.neovisionaries.ws.client.WebSocketError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.neovisionaries.ws.client.WebSocketState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VIOLATED - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
-
1008;
1008 indicates that an endpoint is terminating the connection
because it has received a message that violates its policy.
This is a generic status code that can be returned when there
is no other more suitable status code (e.g., 1003 or 1009)
or if there is a need to hide specific details about the policy.