Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ABNORMAL - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1006; 1006 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 abnormally, e.g., without sending or receiving a Close control frame.
abort(Exception) - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
ACCEPT_MAGIC - Static variable in class com.neovisionaries.ws.client.HandshakeReader
 
addExtension(WebSocketExtension) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
addExtension(WebSocketExtension) - Method in class com.neovisionaries.ws.client.WebSocket
Add a value for Sec-WebSocket-Extension.
addExtension(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
addExtension(String) - Method in class com.neovisionaries.ws.client.WebSocket
Add a value for Sec-WebSocket-Extension.
addHeader(String, String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
addHeader(String, String) - Method in class com.neovisionaries.ws.client.ProxySettings
Add an additional HTTP header passed to the proxy server.
addHeader(String, String) - Method in class com.neovisionaries.ws.client.WebSocket
Add a pair of extra HTTP header.
addHeaders(StringBuilder) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
addHighPriorityFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WritingThread
 
ADDITIONAL_BUFFER_SIZE - Static variable in class com.neovisionaries.ws.client.ByteArray
 
addListener(WebSocketListener) - Method in class com.neovisionaries.ws.client.ListenerManager
 
addListener(WebSocketListener) - Method in class com.neovisionaries.ws.client.WebSocket
Add a listener to receive events on this WebSocket.
addListeners(List<WebSocketListener>) - Method in class com.neovisionaries.ws.client.ListenerManager
 
addListeners(List<WebSocketListener>) - Method in class com.neovisionaries.ws.client.WebSocket
Add listeners.
addProtocol(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
addProtocol(String) - Method in class com.neovisionaries.ws.client.WebSocket
Add a value for Sec-WebSocket-Protocol.
addProxyAuthorization(StringBuilder) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
Address - Class in com.neovisionaries.ws.client
 
Address(String, int) - Constructor for class com.neovisionaries.ws.client.Address
 
adjustCompressedData(byte[]) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
allSubjectAltNames(X509Certificate) - Static method in class com.neovisionaries.ws.client.OkHostnameVerifier
 
ALT_DNS_NAME - Static variable in class com.neovisionaries.ws.client.OkHostnameVerifier
 
ALT_IPA_NAME - Static variable in class com.neovisionaries.ws.client.OkHostnameVerifier
 
appendEmptyBlock(ByteArray, int[]) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
appendPayloadBinary(StringBuilder) - Method in class com.neovisionaries.ws.client.WebSocketFrame
 
appendPayloadClose(StringBuilder) - Method in class com.neovisionaries.ws.client.WebSocketFrame
 
appendPayloadCommon(StringBuilder) - Method in class com.neovisionaries.ws.client.WebSocketFrame
 
appendPayloadText(StringBuilder) - Method in class com.neovisionaries.ws.client.WebSocketFrame
 
Auto Flush - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
await() - Method in class com.neovisionaries.ws.client.SocketInitiator.Signal
 
await(List<SocketInitiator.SocketRacer>) - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
AWAY - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1001; 1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.

B

Base64 - Class in com.neovisionaries.ws.client
 
Base64() - Constructor for class com.neovisionaries.ws.client.Base64
 
beg - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
 
BINARY - Static variable in class com.neovisionaries.ws.client.WebSocketOpcode
Opcode for "binary frame" (0x2).
BOTH - Enum constant in enum com.neovisionaries.ws.client.DualStackMode
Try both IPv4 and IPv6 to establish a connection.
build(String, List<String[]>) - Static method in class com.neovisionaries.ws.client.HandshakeBuilder
 
buildCodeLensFromSym() - Static method in class com.neovisionaries.ws.client.FixedDistanceHuffman
 
buildCodeLensFromSym() - Static method in class com.neovisionaries.ws.client.FixedLiteralLengthHuffman
 
buildHeaders() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
buildRequest() - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
buildRequestLine() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
ByteArray - Class in com.neovisionaries.ws.client
Expandable byte array with byte-basis and bit-basis operations.
ByteArray(byte[]) - Constructor for class com.neovisionaries.ws.client.ByteArray
Constructor with initial data.
ByteArray(int) - Constructor for class com.neovisionaries.ws.client.ByteArray
Constructor with initial capacity.

C

call() - Method in class com.neovisionaries.ws.client.Connectable
 
callHandleCallbackError(WebSocketListener, Throwable) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnBinaryFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnBinaryFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onBinaryFrame method of the listeners.
callOnBinaryMessage(byte[]) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnBinaryMessage(byte[]) - Method in class com.neovisionaries.ws.client.ReadingThread
Call
invalid reference
onBinaryMessage
method of the listeners.
callOnCloseFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnCloseFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onCloseFrame method of the listeners.
callOnConnected(Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnConnectedIfNotYet() - Method in class com.neovisionaries.ws.client.WebSocket
Call WebSocketListener.onConnected(WebSocket, Map) method of the registered listeners if it has not been called yet.
callOnConnectError(WebSocketException) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnContinuationFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnContinuationFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onContinuationFrame method of the listeners.
callOnDisconnected(WebSocketFrame, WebSocketFrame, boolean) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnError(WebSocketException) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnError(WebSocketException) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onError method of the listeners.
callOnFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onFrame method of the listeners.
callOnFrameError(WebSocketException, WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnFrameError(WebSocketException, WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onFrameError method of the listeners.
callOnFrameSent(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnFrameUnsent(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnMessageDecompressionError(WebSocketException, byte[]) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnMessageDecompressionError(WebSocketException, byte[]) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onMessageDecompressionError method of the listeners.
callOnMessageError(WebSocketException, List<WebSocketFrame>) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnMessageError(WebSocketException, List<WebSocketFrame>) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onMessageError method of the listeners.
callOnPingFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnPingFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onPingFrame method of the listeners.
callOnPongFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnPongFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onPongFrame method of the listeners.
callOnSendError(WebSocketException, WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnSendingFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnSendingHandshake(String, List<String[]>) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnStateChanged(WebSocketState) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnTextFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnTextFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onTextFrame method of the listeners.
callOnTextMessage(byte[]) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnTextMessage(byte[]) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onTextMessage method of the listeners.
callOnTextMessage(String) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnTextMessage(String) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onTextMessage method of the listeners.
callOnTextMessageError(WebSocketException, byte[]) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnTextMessageError(WebSocketException, byte[]) - Method in class com.neovisionaries.ws.client.ReadingThread
Call onTextMessageError method of the listeners.
callOnThreadCreated() - Method in class com.neovisionaries.ws.client.WebSocketThread
 
callOnThreadCreated(ThreadType, Thread) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnThreadStarted(ThreadType, Thread) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnThreadStopping(ThreadType, Thread) - Method in class com.neovisionaries.ws.client.ListenerManager
 
callOnUnexpectedError(WebSocketException) - Method in class com.neovisionaries.ws.client.ListenerManager
 
cancelClose() - Method in class com.neovisionaries.ws.client.ReadingThread
 
cancelCloseTask() - Method in class com.neovisionaries.ws.client.ReadingThread
 
canCompress(byte[]) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
changeStateOnConnect() - Method in class com.neovisionaries.ws.client.WebSocket
 
changeToClosing() - Method in class com.neovisionaries.ws.client.WritingThread
 
changeToClosing(StateManager.CloseInitiator) - Method in class com.neovisionaries.ws.client.StateManager
 
chars - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
Distinguished name characters.
clear() - Method in class com.neovisionaries.ws.client.ByteArray
 
clearBit(int) - Method in class com.neovisionaries.ws.client.ByteArray
 
clearExtensions() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
clearExtensions() - Method in class com.neovisionaries.ws.client.WebSocket
Remove all extensions from Sec-WebSocket-Extension.
clearHeaders() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
clearHeaders() - Method in class com.neovisionaries.ws.client.WebSocket
Clear all extra HTTP headers.
clearListeners() - Method in class com.neovisionaries.ws.client.ListenerManager
 
clearListeners() - Method in class com.neovisionaries.ws.client.WebSocket
Remove all the listeners from this WebSocket.
clearProtocols() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
clearProtocols() - Method in class com.neovisionaries.ws.client.WebSocket
Remove all protocols from Sec-WebSocket-Protocol.
clearUserInfo() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
clearUserInfo() - Method in class com.neovisionaries.ws.client.WebSocket
Clear the credentials to connect to the WebSocket endpoint.
CLIENT - Enum constant in enum com.neovisionaries.ws.client.StateManager.CloseInitiator
 
CLIENT_MAX_WINDOW_BITS - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
CLIENT_NO_CONTEXT_TAKEOVER - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
CLOSE - Static variable in class com.neovisionaries.ws.client.WebSocketOpcode
Opcode for "connection close" (0x8).
CLOSED - Enum constant in enum com.neovisionaries.ws.client.WebSocketState
The WebSocket connection is closed.
CloseInitiator() - Constructor for enum com.neovisionaries.ws.client.StateManager.CloseInitiator
 
closeSilently() - Method in class com.neovisionaries.ws.client.SocketConnector
 
CloseTask() - Constructor for class com.neovisionaries.ws.client.ReadingThread.CloseTask
 
CLOSING - Enum constant in enum com.neovisionaries.ws.client.WebSocketState
A closing handshake is being performed.
codeLengthOrderToIndex(int) - Static method in class com.neovisionaries.ws.client.DeflateUtil
 
com.neovisionaries.ws.client - package com.neovisionaries.ws.client
High-quality WebSocket client implementation in Java.
complete(Socket) - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
compress(byte[]) - Static method in class com.neovisionaries.ws.client.DeflateCompressor
 
compress(byte[]) - Method in class com.neovisionaries.ws.client.PerMessageCompressionExtension
Compress the plain message.
compress(byte[]) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
compress(byte[], PerMessageCompressionExtension) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
 
compressFrame(WebSocketFrame, PerMessageCompressionExtension) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
 
Compression - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
COMPRESSION_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Compression failed.
COMPRESSION_TERMINATOR - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
computeWindowSize(String, String) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
concatenatePayloads(List<WebSocketFrame>) - Method in class com.neovisionaries.ws.client.ReadingThread
 
Configure WebSocket - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
Congestion Control - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
connect() - Method in class com.neovisionaries.ws.client.SocketConnector
 
connect() - Method in class com.neovisionaries.ws.client.WebSocket
Connect to the server, send an opening handshake to the server, receive the response and then start threads to communicate with the server.
connect(ExecutorService) - Method in class com.neovisionaries.ws.client.WebSocket
Execute WebSocket.connect() asynchronously using the given ExecutorService.
CONNECT_THREAD - Enum constant in enum com.neovisionaries.ws.client.ThreadType
A thread which calls WebSocket.connect() asynchronously (ConnectThread).
connectable() - Method in class com.neovisionaries.ws.client.WebSocket
Get a new Callable<WebSocket> instance whose call() method calls WebSocket.connect() method of this WebSocket instance.
Connectable - Class in com.neovisionaries.ws.client
An implementation of Callable interface that calls WebSocket.connect().
Connectable(WebSocket) - Constructor for class com.neovisionaries.ws.client.Connectable
 
connectAsynchronously() - Method in class com.neovisionaries.ws.client.WebSocket
Execute WebSocket.connect() asynchronously by creating a new thread and calling connect() in the thread.
CONNECTING - Enum constant in enum com.neovisionaries.ws.client.WebSocketState
An opening handshake is being performed.
CONNECTION_HEADER - Static variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
connectSocket() - Method in class com.neovisionaries.ws.client.SocketConnector
 
ConnectThread - Class in com.neovisionaries.ws.client
 
ConnectThread(WebSocket) - Constructor for class com.neovisionaries.ws.client.ConnectThread
 
Connect To Server - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
Connect To Server Asynchronously - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
containsExtension(WebSocketExtension) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
containsExtension(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
containsParameter(String) - Method in class com.neovisionaries.ws.client.WebSocketExtension
Check if the parameter identified by the key is contained.
containsProtocol(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
CONTINUATION - Static variable in class com.neovisionaries.ws.client.WebSocketOpcode
Opcode for "frame continuation" (0x0).
CONTINUATION_NOT_CLOSED - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
A non-control frame was detected although the existing continuation had not been closed.
copyExtensions(List<WebSocketExtension>) - Static method in class com.neovisionaries.ws.client.HandshakeBuilder
 
copyHeader(String[]) - Static method in class com.neovisionaries.ws.client.HandshakeBuilder
 
copyHeaders(List<String[]>) - Static method in class com.neovisionaries.ws.client.HandshakeBuilder
 
copyProtocols(Set<String>) - Static method in class com.neovisionaries.ws.client.HandshakeBuilder
 
CounterPayloadGenerator - Class in com.neovisionaries.ws.client
 
CounterPayloadGenerator() - Constructor for class com.neovisionaries.ws.client.CounterPayloadGenerator
 
createBinaryFrame(byte[]) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a binary frame.
createCloseFrame() - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a close frame.
createCloseFrame(int) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a close frame.
createCloseFrame(int, String) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a close frame.
createCloseFrame(WebSocketException) - Method in class com.neovisionaries.ws.client.ReadingThread
 
createContinuationFrame() - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a continuation frame.
createContinuationFrame(byte[]) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a continuation frame.
createContinuationFrame(String) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a continuation frame.
createCountsFromCodeLen(int[], int) - Static method in class com.neovisionaries.ws.client.Huffman
 
CREATED - Enum constant in enum com.neovisionaries.ws.client.WebSocketState
The initial state of a WebSocket instance.
createDeflater() - Static method in class com.neovisionaries.ws.client.DeflateCompressor
 
createDirectRawSocket(String, int, boolean, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
 
createFrame() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
createFrame(byte[]) - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
createFrame(byte[]) - Method in class com.neovisionaries.ws.client.PingSender
 
createFrame(byte[]) - Method in class com.neovisionaries.ws.client.PongSender
 
createInstance(String) - Static method in class com.neovisionaries.ws.client.WebSocketExtension
 
createIntArray(int, int) - Static method in class com.neovisionaries.ws.client.Huffman
Create an array whose elements have the given initial value.
createMaxCodeValsFromCodeLen(int[], int, Object[]) - Static method in class com.neovisionaries.ws.client.Huffman
 
createPingFrame() - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a ping frame.
createPingFrame(byte[]) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a ping frame.
createPingFrame(String) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a ping frame.
createPongFrame() - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a pong frame.
createPongFrame(byte[]) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a pong frame.
createPongFrame(String) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a pong frame.
createProxiedRawSocket(String, int, boolean, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
 
createRawSocket(String, int, boolean, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
 
createSNIHostName(String) - Static method in class com.neovisionaries.ws.client.SNIHelper
 
createSNIHostNames(String[]) - Static method in class com.neovisionaries.ws.client.SNIHelper
 
createSocket(String) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Create a WebSocket.
createSocket(String, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Create a WebSocket.
createSocket(String, String, String, int, String, String, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
 
createSocket(URI) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Create a WebSocket.
createSocket(URI, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Create a WebSocket.
createSocket(URL) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Create a WebSocket.
createSocket(URL, int) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Create a WebSocket.
createSymsFromCodeVal(int[], int[], int) - Static method in class com.neovisionaries.ws.client.Huffman
 
createTextFrame(String) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Create a text frame.
createWebSocket(boolean, String, String, int, String, String, SocketConnector) - Method in class com.neovisionaries.ws.client.WebSocketFactory
 
Create WebSocket - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
Create WebSocketFactory - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
cur - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
Temporary variable to store positions of the currently parsed item.

D

decompress(byte[]) - Method in class com.neovisionaries.ws.client.PerMessageCompressionExtension
Decompress the compressed message.
decompress(byte[]) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
decompress(byte[]) - Method in class com.neovisionaries.ws.client.ReadingThread
 
decompress(ByteArray, int, ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
decompress(ByteArray, ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
DECOMPRESSION_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Decompression failed.
DEFAULT_CLOSE_DELAY - Static variable in class com.neovisionaries.ws.client.WebSocket
 
DeflateCompressor - Class in com.neovisionaries.ws.client
DEFLATE (RFC 1951) compressor implementation.
DeflateCompressor() - Constructor for class com.neovisionaries.ws.client.DeflateCompressor
 
DeflateDecompressor - Class in com.neovisionaries.ws.client
DEFLATE (RFC 1951) decompressor implementation from scratch.
DeflateDecompressor() - Constructor for class com.neovisionaries.ws.client.DeflateDecompressor
 
DeflateUtil - Class in com.neovisionaries.ws.client
Utility methods for DEFLATE (RFC 1951).
DeflateUtil() - Constructor for class com.neovisionaries.ws.client.DeflateUtil
 
determinePath(String) - Static method in class com.neovisionaries.ws.client.WebSocketFactory
 
determinePort(int, boolean) - Static method in class com.neovisionaries.ws.client.WebSocketFactory
 
Direct Text Message - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
disconnect() - Method in class com.neovisionaries.ws.client.WebSocket
Disconnect the WebSocket.
disconnect(int) - Method in class com.neovisionaries.ws.client.WebSocket
Disconnect the WebSocket.
disconnect(int, String) - Method in class com.neovisionaries.ws.client.WebSocket
Disconnect the WebSocket.
disconnect(int, String, long) - Method in class com.neovisionaries.ws.client.WebSocket
Disconnect the WebSocket.
disconnect(String) - Method in class com.neovisionaries.ws.client.WebSocket
Disconnect the WebSocket.
Disconnect WebSocket - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
DistinguishedNameParser - Class in com.neovisionaries.ws.client
A distinguished name (DN) parser.
DistinguishedNameParser(X500Principal) - Constructor for class com.neovisionaries.ws.client.DistinguishedNameParser
 
dn - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
 
doConnect() - Method in class com.neovisionaries.ws.client.SocketConnector
 
doFlush() - Method in class com.neovisionaries.ws.client.WritingThread
 
done() - Method in class com.neovisionaries.ws.client.SocketInitiator.Signal
 
doTask() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
DualStackMode - Enum in com.neovisionaries.ws.client
The dual stack mode defines which IP address families will be used to establish a connection.
DualStackMode() - Constructor for enum com.neovisionaries.ws.client.DualStackMode
 
duplicate(int, int, ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 

E

encode(byte[]) - Static method in class com.neovisionaries.ws.client.Base64
 
encode(String) - Static method in class com.neovisionaries.ws.client.Base64
 
end - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
 
Error Handling - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
escapedAV() - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 
establish(InetAddress[]) - Method in class com.neovisionaries.ws.client.SocketInitiator
 
expandBuffer(int) - Method in class com.neovisionaries.ws.client.ByteArray
Expand the size of the internal buffer.
EXTENSION_PARSE_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The value in Sec-WebSocket-Extensions failed to be parsed.
EXTENSIONS_CONFLICT - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The combination of the extensions contained in Sec-WebSocket-Extensions header causes conflicts.
extractBits(byte[], int) - Static method in class com.neovisionaries.ws.client.Base64
 
extractHost(URI) - Static method in class com.neovisionaries.ws.client.Misc
 
extractHostFromAuthorityPart(String) - Static method in class com.neovisionaries.ws.client.Misc
 
extractHostFromEntireUri(String) - Static method in class com.neovisionaries.ws.client.Misc
 
extractMaxWindowBits(String, String) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
extractValue(String[]) - Static method in class com.neovisionaries.ws.client.WebSocketExtension
 

F

finalize() - Method in class com.neovisionaries.ws.client.WebSocket
 
findAgreedPerMessageCompressionExtension() - Method in class com.neovisionaries.ws.client.WebSocket
Find a per-message compression extension from among the agreed extensions.
findMostSpecific(String) - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
Parses the DN and returns the most significant attribute value for an attribute type, or null if none found.
finish() - Method in class com.neovisionaries.ws.client.WebSocket
 
FINISH_THREAD - Enum constant in enum com.neovisionaries.ws.client.ThreadType
A thread which does finalization of a WebSocket instance.
finishAsynchronously() - Method in class com.neovisionaries.ws.client.WebSocket
Call WebSocket.finish() from within a separate thread.
FinishThread - Class in com.neovisionaries.ws.client
 
FinishThread(WebSocket) - Constructor for class com.neovisionaries.ws.client.FinishThread
 
FixedDistanceHuffman - Class in com.neovisionaries.ws.client
 
FixedDistanceHuffman() - Constructor for class com.neovisionaries.ws.client.FixedDistanceHuffman
 
FixedLiteralLengthHuffman - Class in com.neovisionaries.ws.client
 
FixedLiteralLengthHuffman() - Constructor for class com.neovisionaries.ws.client.FixedLiteralLengthHuffman
 
flush() - Method in class com.neovisionaries.ws.client.WebSocket
Flush frames to the server.
flush() - Method in class com.neovisionaries.ws.client.WritingThread
 
FLUSH_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Flushing frames to the server failed.
FLUSH_THRESHOLD - Static variable in class com.neovisionaries.ws.client.WritingThread
 
flushIfLongInterval(long) - Method in class com.neovisionaries.ws.client.WritingThread
 
flushIgnoreError() - Method in class com.neovisionaries.ws.client.WritingThread
 
FormatException - Exception Class in com.neovisionaries.ws.client
 
FormatException(String) - Constructor for exception class com.neovisionaries.ws.client.FormatException
 
FRAGMENTED_CONTROL_FRAME - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
A control frame is fragmented.
FRAME_MASKED - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
A frame from the server is masked.

G

generate() - Method in class com.neovisionaries.ws.client.CounterPayloadGenerator
 
generate() - Method in interface com.neovisionaries.ws.client.PayloadGenerator
Generate a payload of a frame.
generatePayload() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
generateWebSocketKey() - Static method in class com.neovisionaries.ws.client.WebSocket
Generate a value for Sec-WebSocket-Key.
get(int) - Method in class com.neovisionaries.ws.client.ByteArray
Get a byte at the index.
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.
getAndroidSDKVersion() - Static method in class com.neovisionaries.ws.client.SNIHelper
 
getBit(int) - Method in class com.neovisionaries.ws.client.ByteArray
 
getBits(int, int) - Method in class com.neovisionaries.ws.client.ByteArray
 
getBody() - Method in exception class com.neovisionaries.ws.client.OpeningHandshakeException
Get the response body contained in the WebSocket opening handshake response from the server.
getByte(int) - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 
getBytesUTF8(String) - Static method in class com.neovisionaries.ws.client.Misc
Get a UTF-8 byte array representation of the given string.
getClientWindowSize() - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
getCloseCode() - Method in class com.neovisionaries.ws.client.WebSocketFrame
Parse the first two bytes of the payload as a close code.
getClosedByServer() - Method in class com.neovisionaries.ws.client.StateManager
 
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.SocketConnector
 
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.SocketConnector
 
getConnectionTimeout() - Method in class com.neovisionaries.ws.client.WebSocketFactory
Get the timeout value in milliseconds for socket connection.
getConstructor(String, Class<?>[]) - Static method in class com.neovisionaries.ws.client.Misc
 
getContentLength(Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.HandshakeReader
Get the value of "Content-Length" header.
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 class com.neovisionaries.ws.client.WebSocketException
 
getEscaped() - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 
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.
getHandshakeBuilder() - Method in class com.neovisionaries.ws.client.WebSocket
Get the handshake builder.
getHeaders() - Method in exception class 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 class com.neovisionaries.ws.client.Address
 
getHostname() - Method in exception class com.neovisionaries.ws.client.HostnameUnverifiedException
Get the expected hostname.
getHttpVersion() - Method in class com.neovisionaries.ws.client.StatusLine
Get the HTTP version.
getHuffmanBits(int, int) - Method in class com.neovisionaries.ws.client.ByteArray
 
getId() - Method in class com.neovisionaries.ws.client.ProxySettings
Get the ID for authentication at the proxy server.
getInput() - Method in class com.neovisionaries.ws.client.WebSocket
Get the input stream of the WebSocket connection.
getInstance() - Static method in class com.neovisionaries.ws.client.FixedDistanceHuffman
 
getInstance() - Static method in class com.neovisionaries.ws.client.FixedLiteralLengthHuffman
 
getInterval() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
getListenerManager() - Method in class com.neovisionaries.ws.client.WebSocket
Get the manager that manages registered listeners.
getListeners() - Method in class com.neovisionaries.ws.client.ListenerManager
 
getMask() - Method in class com.neovisionaries.ws.client.WebSocketFrame
Get the value of MASK bit.
getMaxPayloadSize() - Method in class com.neovisionaries.ws.client.WebSocket
Get the maximum payload size.
getMessage(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
getMessage(List<WebSocketFrame>) - Method in class com.neovisionaries.ws.client.ReadingThread
 
getMethod(String, String, Class<?>[]) - Static method in class com.neovisionaries.ws.client.Misc
 
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.
getOutput() - Method in class com.neovisionaries.ws.client.WebSocket
Get the output stream of the WebSocket connection.
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.
getPayloadGenerator() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
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.
getPerMessageCompressionExtension() - Method in class com.neovisionaries.ws.client.WebSocket
Get the PerMessageCompressionExtension in the agreed extensions.
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.Address
 
getPort() - Method in class com.neovisionaries.ws.client.ProxySettings
Get the port number of the proxy server.
getProxiedHostname() - Method in class com.neovisionaries.ws.client.ProxyHandshaker
To be able to verify the hostname of the certificate received if a connection is made to an https/wss endpoint, access to this hostname is required.
getProxySettings() - Method in class com.neovisionaries.ws.client.WebSocketFactory
Get the proxy settings.
getReadByteCount() - Method in exception class com.neovisionaries.ws.client.InsufficientDataException
 
getReasonPhrase() - Method in class com.neovisionaries.ws.client.StatusLine
Get the reason phrase.
getRequestedByteCount() - Method in exception class com.neovisionaries.ws.client.InsufficientDataException
 
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).
getServerWindowSize() - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
getSocket() - Method in class com.neovisionaries.ws.client.SocketConnector
 
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
Get the socket factory that has been set by ProxySettings.setSocketFactory(SocketFactory).
getSocketFactory() - Method in class com.neovisionaries.ws.client.SocketFactorySettings
 
getSocketFactory() - Method in class com.neovisionaries.ws.client.WebSocketFactory
Get the socket factory that has been set by WebSocketFactory.setSocketFactory(SocketFactory).
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
Get the SSL context that has been set by ProxySettings.setSSLContext(SSLContext).
getSSLContext() - Method in class com.neovisionaries.ws.client.SocketFactorySettings
 
getSSLContext() - Method in class com.neovisionaries.ws.client.WebSocketFactory
Get the SSL context that has been set by WebSocketFactory.setSSLContext(SSLContext).
getSSLSocket() - Method in exception class com.neovisionaries.ws.client.HostnameUnverifiedException
Get the SSL socket against which the hostname verification failed.
getSSLSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
Get the SSL socket factory that has been set by ProxySettings.setSSLSocketFactory(SSLSocketFactory).
getSSLSocketFactory() - Method in class com.neovisionaries.ws.client.SocketFactorySettings
 
getSSLSocketFactory() - Method in class com.neovisionaries.ws.client.WebSocketFactory
Get the SSL socket factory that has been set by WebSocketFactory.setSSLSocketFactory(SSLSocketFactory).
getState() - Method in class com.neovisionaries.ws.client.StateManager
 
getState() - Method in class com.neovisionaries.ws.client.WebSocket
Get the current state of this WebSocket.
getStateManager() - Method in class com.neovisionaries.ws.client.WebSocket
Get the manager that manages the state of this WebSocket instance.
getStatusCode() - Method in class com.neovisionaries.ws.client.StatusLine
Get the status code.
getStatusLine() - Method in exception class com.neovisionaries.ws.client.OpeningHandshakeException
Get the status line contained in the WebSocket opening handshake response from the server.
getSubjectAltNames(X509Certificate, int) - Static method in class com.neovisionaries.ws.client.OkHostnameVerifier
 
getSynchronizedListeners() - Method in class com.neovisionaries.ws.client.ListenerManager
 
getTimerName() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
getURI() - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
getURI() - Method in class com.neovisionaries.ws.client.WebSocket
Get the URI of the WebSocket endpoint.
getUTF8() - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 
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
Get the associated WebSocketFactory instance.

H

handleBinaryFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handleCallbackError(WebSocket, Throwable) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
 
handleCallbackError(WebSocket, Throwable) - Method in interface com.neovisionaries.ws.client.WebSocketListener
Called when an onXxx() method threw a Throwable.
handleCloseFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handleContinuationFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handleError(WebSocketException) - Method in class com.neovisionaries.ws.client.ConnectThread
 
handleFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handlePingFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handlePongFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handleTextFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
handshake() - Method in class com.neovisionaries.ws.client.SocketConnector
Perform proxy handshake and optionally SSL handshake.
HandshakeBuilder - Class in com.neovisionaries.ws.client
 
HandshakeBuilder(boolean, String, String, String) - Constructor for class com.neovisionaries.ws.client.HandshakeBuilder
 
HandshakeBuilder(HandshakeBuilder) - Constructor for class com.neovisionaries.ws.client.HandshakeBuilder
 
HandshakeReader - Class in com.neovisionaries.ws.client
Reader for a WebSocket opening handshake response.
HandshakeReader(WebSocket) - Constructor for class com.neovisionaries.ws.client.HandshakeReader
 
hasPayload() - Method in class com.neovisionaries.ws.client.WebSocketFrame
Check if this frame has payload.
hasSocket() - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
hexAV() - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 
HOSTNAME_UNVERIFIED - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The certificate of the peer does not match the expected hostname.
HostnameUnverifiedException - Exception Class in com.neovisionaries.ws.client
The certificate of the peer does not match the expected hostname.
HostnameUnverifiedException(SSLSocket, String) - Constructor for exception class com.neovisionaries.ws.client.HostnameUnverifiedException
Constructor with the SSL socket and the expected hostname.
HTTP_HEADER_FAILURE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
An error occurred while HTTP header section was being read.
HTTP Proxy - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
Huffman - Class in com.neovisionaries.ws.client
Huffman coding for DEFLATE format (RFC 1951).
Huffman(int[]) - Constructor for class com.neovisionaries.ws.client.Huffman
 

I

INCOMING_SLIDING_WINDOW_MARGIN - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
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).
increment() - Method in class com.neovisionaries.ws.client.CounterPayloadGenerator
 
INDEX_TABLE - Static variable in class com.neovisionaries.ws.client.Base64
 
INDICES_FROM_CODE_LENGTH_ORDER - Static variable in class com.neovisionaries.ws.client.DeflateUtil
 
inflateBlock(ByteArray, int[], ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
inflateData(ByteArray, int[], ByteArray, Huffman, Huffman) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
inflateDynamicBlock(ByteArray, int[], ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
inflateFixedBlock(ByteArray, int[], ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
inflatePlainBlock(ByteArray, int[], ByteArray) - Static method in class com.neovisionaries.ws.client.DeflateDecompressor
 
initialize() - Static method in class com.neovisionaries.ws.client.SNIHelper
 
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).
INSTANCE - Static variable in class com.neovisionaries.ws.client.FixedDistanceHuffman
 
INSTANCE - Static variable in class com.neovisionaries.ws.client.FixedLiteralLengthHuffman
 
INSTANCE - Static variable in class com.neovisionaries.ws.client.OkHostnameVerifier
 
INSUFFICENT_DATA - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The end of the stream has been reached unexpectedly.
INSUFFICIENT_MEMORY_FOR_PAYLOAD - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
OutOfMemoryError occurred during a trial to allocate a memory area for a frame's payload.
InsufficientDataException - Exception Class in com.neovisionaries.ws.client
 
InsufficientDataException(int, int) - Constructor for exception class com.neovisionaries.ws.client.InsufficientDataException
 
INTERRUPTED_IN_READING - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Interruption occurred while a frame was being read from the WebSocket.
INVALID_PAYLOAD_LENGTH - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The payload length of a frame is invalid.
invoke(Method, Object, Object...) - Static method in class com.neovisionaries.ws.client.Misc
 
IO_ERROR_IN_READING - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
An I/O error occurred while a frame was being read from the WebSocket.
IO_ERROR_IN_WRITING - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
An I/O error occurred when a frame was tried to be sent.
IPV4_ONLY - Enum constant in enum com.neovisionaries.ws.client.DualStackMode
Only use IPv4 to establish a connection.
IPV6_ONLY - Enum constant in enum com.neovisionaries.ws.client.DualStackMode
Only use IPv6 to establish a connection.
isAutoFlush() - Method in class com.neovisionaries.ws.client.WebSocket
Check if flush is performed automatically after WebSocket.sendFrame(WebSocketFrame) is done.
isBinaryFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
Check if this frame is a binary frame.
isClientNoContextTakeover() - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
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.
isDone() - Method in class com.neovisionaries.ws.client.SocketInitiator.Signal
 
isExtended() - Method in class com.neovisionaries.ws.client.WebSocket
Check if extended use of WebSocket frames are allowed.
isFlushNeeded(boolean) - Method in class com.neovisionaries.ws.client.WritingThread
 
isHighPriorityFrame(WebSocketFrame) - Static method in class com.neovisionaries.ws.client.WritingThread
 
isInState(WebSocketState) - Method in class com.neovisionaries.ws.client.WebSocket
Check if the current state is equal to the specified state.
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.
isSecureConnectionRequired(String) - Static method in class com.neovisionaries.ws.client.WebSocketFactory
 
isSeparator(char) - Static method in class com.neovisionaries.ws.client.Token
 
isServerNoContextTakeover() - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
isTextFrame() - Method in class com.neovisionaries.ws.client.WebSocketFrame
Check if this frame is a text frame.
isValid(String) - Static method in class com.neovisionaries.ws.client.Token
Check if the given string conforms to the rules described in "2.2 Basic Rules" of RFC 2616.
isValidProtocol(String) - Static method in class com.neovisionaries.ws.client.HandshakeBuilder
 

J

join(StringBuilder, Collection<?>, String) - Static method in class com.neovisionaries.ws.client.Misc
 
join(Collection<?>, String) - Static method in class com.neovisionaries.ws.client.Misc
 

L

length - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
 
length() - Method in class com.neovisionaries.ws.client.ByteArray
The length of the data.
ListenerManager - Class in com.neovisionaries.ws.client
 
ListenerManager(WebSocket) - Constructor for class com.neovisionaries.ws.client.ListenerManager
 

M

mAddress - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mAddress - Variable in class com.neovisionaries.ws.client.SocketInitiator
 
mAgreedExtensions - Variable in class com.neovisionaries.ws.client.WebSocket
 
mAgreedProtocol - Variable in class com.neovisionaries.ws.client.WebSocket
 
main() - Method in class com.neovisionaries.ws.client.ReadingThread
 
main() - Method in class com.neovisionaries.ws.client.WritingThread
 
mask(byte[], byte[]) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
Mask/unmask payload.
mAutoFlush - Variable in class com.neovisionaries.ws.client.WebSocket
 
max(int[]) - Static method in class com.neovisionaries.ws.client.Misc
Find the maximum value from the given array.
MAX_BITS - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
MAX_WINDOW_SIZE - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
Maximum Payload Size - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
mBody - Variable in exception class com.neovisionaries.ws.client.OpeningHandshakeException
 
mBuffer - Variable in class com.neovisionaries.ws.client.ByteArray
 
mClientCloseFrame - Variable in class com.neovisionaries.ws.client.WebSocket
 
mClientNoContextTakeover - Variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mClientWindowSize - Variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mCloseDelay - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mCloseFrame - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mCloseFrame - Variable in class com.neovisionaries.ws.client.WritingThread
 
mCloseInitiator - Variable in class com.neovisionaries.ws.client.StateManager
 
mCloseLock - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mCloseTask - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mCloseTimer - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mConnectionTimeout - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mConnectionTimeout - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mConnectTimeout - Variable in class com.neovisionaries.ws.client.SocketInitiator
 
mConnectTimeout - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mContinuation - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mCopiedListeners - Variable in class com.neovisionaries.ws.client.ListenerManager
 
mCount - Variable in class com.neovisionaries.ws.client.CounterPayloadGenerator
 
mDirectTextMessage - Variable in class com.neovisionaries.ws.client.WebSocket
 
mDoneSignal - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mDualStackFallbackDelay - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mDualStackFallbackDelay - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mDualStackMode - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mDualStackMode - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mError - Variable in exception class com.neovisionaries.ws.client.WebSocketException
 
MESSAGE_CONSTRUCTION_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to concatenate payloads of multiple frames to construct a message.
mException - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
mExtended - Variable in class com.neovisionaries.ws.client.WebSocket
 
mExtensions - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mFallbackDelay - Variable in class com.neovisionaries.ws.client.SocketInitiator
 
mFin - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mFlushNeeded - Variable in class com.neovisionaries.ws.client.WritingThread
 
mFrameQueueSize - Variable in class com.neovisionaries.ws.client.WebSocket
 
mFrames - Variable in class com.neovisionaries.ws.client.WritingThread
 
mFuture - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mGenerator - Variable in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
mHandshakeBuilder - Variable in class com.neovisionaries.ws.client.WebSocket
 
mHeaders - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mHeaders - Variable in exception class com.neovisionaries.ws.client.OpeningHandshakeException
 
mHeaders - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mHost - Variable in class com.neovisionaries.ws.client.Address
 
mHost - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mHost - Variable in class com.neovisionaries.ws.client.ProxyHandshaker
 
mHost - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mHost - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mHostname - Variable in exception class com.neovisionaries.ws.client.HostnameUnverifiedException
 
mHttpVersion - Variable in class com.neovisionaries.ws.client.StatusLine
HTTP version.
mId - Variable in class com.neovisionaries.ws.client.ProxySettings
 
min(int[]) - Static method in class com.neovisionaries.ws.client.Misc
Find the minimum value from the given array.
MIN_BITS - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
MIN_WINDOW_SIZE - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mIncomingSlidingWindow - Variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mIncomingSlidingWindowBufferSize - Variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mInput - Variable in class com.neovisionaries.ws.client.WebSocket
 
mInterval - Variable in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
Misc - Class in com.neovisionaries.ws.client
 
Misc() - Constructor for class com.neovisionaries.ws.client.Misc
 
Missing Close Frame - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
mKey - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mLatch - Variable in class com.neovisionaries.ws.client.SocketInitiator.Signal
 
mLatch - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
mLength - Variable in class com.neovisionaries.ws.client.ByteArray
 
mListenerManager - Variable in class com.neovisionaries.ws.client.WebSocket
 
mListeners - Variable in class com.neovisionaries.ws.client.ListenerManager
 
mMask - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mMaxCodeLen - Variable in class com.neovisionaries.ws.client.Huffman
 
mMaxCodeValsFromCodeLen - Variable in class com.neovisionaries.ws.client.Huffman
 
mMaxDelay - Variable in class com.neovisionaries.ws.client.SocketInitiator.Signal
 
mMaxPayloadSize - Variable in class com.neovisionaries.ws.client.WebSocket
 
mMinCodeLen - Variable in class com.neovisionaries.ws.client.Huffman
 
mMissingCloseFrameAllowed - Variable in class com.neovisionaries.ws.client.WebSocket
 
mMode - Variable in class com.neovisionaries.ws.client.SocketInitiator
 
mName - Variable in class com.neovisionaries.ws.client.WebSocketExtension
 
mNotWaitForCloseFrame - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mOnConnectedCalled - Variable in class com.neovisionaries.ws.client.WebSocket
 
mOnConnectedCalledLock - Variable in class com.neovisionaries.ws.client.WebSocket
 
mOpcode - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mOutput - Variable in class com.neovisionaries.ws.client.WebSocket
 
mParameters - Variable in class com.neovisionaries.ws.client.WebSocketExtension
 
mPassword - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mPath - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mPayload - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mPerMessageCompressionExtension - Variable in class com.neovisionaries.ws.client.WebSocket
 
mPingSender - Variable in class com.neovisionaries.ws.client.WebSocket
 
mPMCE - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mPMCE - Variable in class com.neovisionaries.ws.client.WritingThread
 
mPongSender - Variable in class com.neovisionaries.ws.client.WebSocket
 
mPort - Variable in class com.neovisionaries.ws.client.Address
 
mPort - Variable in class com.neovisionaries.ws.client.ProxyHandshaker
 
mPort - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mPort - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mProtocols - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mProxyHandshaker - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mProxySettings - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mRacers - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
mReadByteCount - Variable in exception class com.neovisionaries.ws.client.InsufficientDataException
 
mReadingThread - Variable in class com.neovisionaries.ws.client.WebSocket
 
mReadingThreadFinished - Variable in class com.neovisionaries.ws.client.WebSocket
 
mReadingThreadStarted - Variable in class com.neovisionaries.ws.client.WebSocket
 
mReasonPhrase - Variable in class com.neovisionaries.ws.client.StatusLine
Reason phrase.
mRequestedByteCount - Variable in exception class com.neovisionaries.ws.client.InsufficientDataException
 
mRsv1 - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mRsv2 - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mRsv3 - Variable in class com.neovisionaries.ws.client.WebSocketFrame
 
mScheduled - Variable in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
mSecure - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mSecure - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mServerCloseFrame - Variable in class com.neovisionaries.ws.client.WebSocket
 
mServerHeaders - Variable in class com.neovisionaries.ws.client.WebSocket
 
mServerNames - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mServerNames - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mServerNames - Variable in class com.neovisionaries.ws.client.SocketInitiator
 
mServerNames - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mServerNames - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mServerNoContextTakeover - Variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mServerWindowSize - Variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
mSettings - Variable in class com.neovisionaries.ws.client.ProxyHandshaker
 
mSocket - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mSocket - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
mSocketAddress - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mSocketConnector - Variable in class com.neovisionaries.ws.client.WebSocket
 
mSocketFactory - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mSocketFactory - Variable in class com.neovisionaries.ws.client.SocketFactorySettings
 
mSocketFactory - Variable in class com.neovisionaries.ws.client.SocketInitiator
 
mSocketFactory - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mSocketFactorySettings - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mSocketFactorySettings - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mSocketTimeout - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mSocketTimeout - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mSSLContext - Variable in class com.neovisionaries.ws.client.SocketFactorySettings
 
mSSLSocket - Variable in exception class com.neovisionaries.ws.client.HostnameUnverifiedException
 
mSSLSocketFactory - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mSSLSocketFactory - Variable in class com.neovisionaries.ws.client.SocketFactorySettings
 
mStartSignal - Variable in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
mState - Variable in class com.neovisionaries.ws.client.StateManager
 
mStateManager - Variable in class com.neovisionaries.ws.client.WebSocket
 
mStatusCode - Variable in class com.neovisionaries.ws.client.StatusLine
Status code.
mStatusLine - Variable in exception class com.neovisionaries.ws.client.OpeningHandshakeException
 
mStopped - Variable in class com.neovisionaries.ws.client.WritingThread
 
mStopRequested - Variable in class com.neovisionaries.ws.client.ReadingThread
 
mStopRequested - Variable in class com.neovisionaries.ws.client.WritingThread
 
mString - Variable in class com.neovisionaries.ws.client.Address
 
mString - Variable in class com.neovisionaries.ws.client.StatusLine
String representation of this instance (= the raw status line).
mSymsFromCodeVal - Variable in class com.neovisionaries.ws.client.Huffman
 
mSyncNeeded - Variable in class com.neovisionaries.ws.client.ListenerManager
 
mThreadsLock - Variable in class com.neovisionaries.ws.client.WebSocket
 
mThreadType - Variable in class com.neovisionaries.ws.client.WebSocketThread
 
mTimer - Variable in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
mTimerName - Variable in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
mUri - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mUserInfo - Variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
mVerifyHostname - Variable in class com.neovisionaries.ws.client.SocketConnector
 
mVerifyHostname - Variable in class com.neovisionaries.ws.client.WebSocketFactory
 
mWebSocket - Variable in class com.neovisionaries.ws.client.Connectable
 
mWebSocket - Variable in class com.neovisionaries.ws.client.HandshakeReader
 
mWebSocket - Variable in class com.neovisionaries.ws.client.ListenerManager
 
mWebSocket - Variable in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
mWebSocket - Variable in class com.neovisionaries.ws.client.WebSocketThread
 
mWebSocketFactory - Variable in class com.neovisionaries.ws.client.ProxySettings
 
mWebSocketFactory - Variable in class com.neovisionaries.ws.client.WebSocket
 
mWritingThread - Variable in class com.neovisionaries.ws.client.WebSocket
 
mWritingThreadFinished - Variable in class com.neovisionaries.ws.client.WebSocket
 
mWritingThreadStarted - Variable in class com.neovisionaries.ws.client.WebSocket
 

N

newInstance(Constructor<?>, Object...) - Static method in class com.neovisionaries.ws.client.Misc
 
nextAT() - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 
nextBytes(byte[]) - Static method in class com.neovisionaries.ws.client.Misc
Fill the given buffer with random bytes.
nextBytes(int) - Static method in class com.neovisionaries.ws.client.Misc
Create a buffer of the given size filled with random bytes.
NO_CONNECTION_HEADER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The opening handshake response does not contain Connection header.
NO_MORE_FRAME - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
No more frame can be read because the end of the input stream has been reached.
NO_SEC_WEBSOCKET_ACCEPT_HEADER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The opening handshake response does not contain Sec-WebSocket-Accept header.
NO_UPGRADE_HEADER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The opening handshake response does not contain Upgrade header.
NO_UPGRADE_IN_CONNECTION_HEADER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Upgrade was not found in Connection header.
NO_WEBSOCKET_IN_UPGRADE_HEADER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
websocket was not found in Upgrade header.
NoMoreFrameException - Exception Class in com.neovisionaries.ws.client
 
NoMoreFrameException() - Constructor for exception class com.neovisionaries.ws.client.NoMoreFrameException
 
NON_ZERO_RESERVED_BITS - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
At least one of the reserved bits of a frame is set.
NONE - Enum constant in enum com.neovisionaries.ws.client.StateManager.CloseInitiator
 
NONE - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1005; 1005 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 no status code was actually present.
NORMAL - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1000; 1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
NOT_IN_CREATED_STATE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The current state of the WebSocket is not CREATED.
NOT_SWITCHING_PROTOCOLS - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The status code of the opening handshake response is not 101 Switching Protocols.
notifyFinished() - Method in class com.neovisionaries.ws.client.ReadingThread
 
notifyFinished() - Method in class com.neovisionaries.ws.client.WritingThread
 

O

OkHostnameVerifier - Class in com.neovisionaries.ws.client
A HostnameVerifier consistent with RFC 2818.
OkHostnameVerifier() - Constructor for class com.neovisionaries.ws.client.OkHostnameVerifier
 
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 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.
onReadingThreadFinished(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocket
Called by the reading thread as its last step.
onReadingThreadStarted() - Method in class com.neovisionaries.ws.client.WebSocket
Called by the reading thread as its first step.
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, byte[]) - Method in class com.neovisionaries.ws.client.WebSocketAdapter
 
onTextMessage(WebSocket, byte[]) - Method in interface com.neovisionaries.ws.client.WebSocketListener
Called when a text message was received instead of WebSocketListener.onTextMessage(WebSocket, String) when WebSocket.isDirectTextMessage() returns true.
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.
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.
onThreadsFinished() - Method in class com.neovisionaries.ws.client.WebSocket
Called when both the reading thread and the writing thread have finished.
onThreadsStarted() - Method in class com.neovisionaries.ws.client.WebSocket
Called when both the reading thread and the writing thread have started.
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).
onWritingThreadFinished(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocket
Called by the writing thread as its last step.
onWritingThreadStarted() - Method in class com.neovisionaries.ws.client.WebSocket
Called by the writing thread as its first step.
OPEN - Enum constant in enum com.neovisionaries.ws.client.WebSocketState
The WebSocket connection is established (= the opening handshake has succeeded) and usable.
OPENING_HAHDSHAKE_REQUEST_FAILURE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to send an opening handshake request to the server.
OPENING_HANDSHAKE_RESPONSE_FAILURE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to read an opening handshake response from the server.
OpeningHandshakeException - Exception Class in com.neovisionaries.ws.client
An exception raised due to a violation against the WebSocket protocol.
OpeningHandshakeException(WebSocketError, String, StatusLine, Map<String, List<String>>) - Constructor for exception class com.neovisionaries.ws.client.OpeningHandshakeException
 
OpeningHandshakeException(WebSocketError, String, StatusLine, Map<String, List<String>>, byte[]) - Constructor for exception class com.neovisionaries.ws.client.OpeningHandshakeException
 
openInputStream(Socket) - Method in class com.neovisionaries.ws.client.WebSocket
Open the input stream of the WebSocket connection.
openOutputStream(Socket) - Method in class com.neovisionaries.ws.client.WebSocket
Open the output stream of the WebSocket connection.
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.

P

parse(String) - Static method in class com.neovisionaries.ws.client.WebSocketExtension
Parse a string as a WebSocketExtension.
parseHttpHeader(Map<String, List<String>>, String) - Method in class com.neovisionaries.ws.client.HandshakeReader
 
parseMaxWindowBits(String) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
PayloadGenerator - Interface in com.neovisionaries.ws.client
Payload generator.
perform(Socket) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
PeriodicalFrameSender - Class in com.neovisionaries.ws.client
 
PeriodicalFrameSender(WebSocket, String, PayloadGenerator) - Constructor for class com.neovisionaries.ws.client.PeriodicalFrameSender
 
PeriodicalFrameSender.Task - Class in com.neovisionaries.ws.client
 
PERMESSAGE_DEFLATE - Static variable in class com.neovisionaries.ws.client.WebSocketExtension
The name of permessage-deflate extension that is defined in 7. The "permessage-deflate" Extension in RFC 7692.
PERMESSAGE_DEFLATE_INVALID_MAX_WINDOW_BITS - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The value of server_max_window_bits parameter or client_max_window_bits parameter of permessage-deflate extension is invalid.
PERMESSAGE_DEFLATE_UNSUPPORTED_PARAMETER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
permessage-deflate extension contains an unsupported parameter.
PerMessageCompressionExtension - Class in com.neovisionaries.ws.client
Per-Message Compression Extension (RFC 7692).
PerMessageCompressionExtension(WebSocketExtension) - Constructor for class com.neovisionaries.ws.client.PerMessageCompressionExtension
 
PerMessageCompressionExtension(String) - Constructor for class com.neovisionaries.ws.client.PerMessageCompressionExtension
 
PerMessageDeflateExtension - Class in com.neovisionaries.ws.client
Per-Message Deflate Extension (7. The "permessage-deflate" Extension in RFC 7692).
PerMessageDeflateExtension() - Constructor for class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
PerMessageDeflateExtension(String) - Constructor for class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
PING - Static variable in class com.neovisionaries.ws.client.WebSocketOpcode
Opcode for "ping" (0x9).
PingSender - Class in com.neovisionaries.ws.client
 
PingSender(WebSocket, PayloadGenerator) - Constructor for class com.neovisionaries.ws.client.PingSender
 
PONG - Static variable in class com.neovisionaries.ws.client.WebSocketOpcode
Opcode for "pong" (0xA).
PongSender - Class in com.neovisionaries.ws.client
 
PongSender(WebSocket, PayloadGenerator) - Constructor for class com.neovisionaries.ws.client.PongSender
 
pos - Variable in class com.neovisionaries.ws.client.DistinguishedNameParser
 
PROXY_HANDSHAKE_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Handshake with a proxy server failed.
ProxyHandshaker - Class in com.neovisionaries.ws.client
 
ProxyHandshaker(String, int, ProxySettings) - Constructor for class com.neovisionaries.ws.client.ProxyHandshaker
 
ProxySettings - Class in com.neovisionaries.ws.client
Proxy settings.
ProxySettings(WebSocketFactory) - Constructor for class com.neovisionaries.ws.client.ProxySettings
Constructor.
ProxySettings(WebSocketFactory, ProxySettings) - Constructor for class com.neovisionaries.ws.client.ProxySettings
Constructor with settings.
put(byte[]) - Method in class com.neovisionaries.ws.client.ByteArray
Add data at the current position.
put(byte[], int, int) - Method in class com.neovisionaries.ws.client.ByteArray
Add data at the current position.
put(int) - Method in class com.neovisionaries.ws.client.ByteArray
Add a byte at the current position.
put(ByteArray, int, int) - Method in class com.neovisionaries.ws.client.ByteArray
Add data at the current position.

Q

queueFlush() - Method in class com.neovisionaries.ws.client.WritingThread
 
queueFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WritingThread
 
quotedAV() - Method in class com.neovisionaries.ws.client.DistinguishedNameParser
 

R

readBit(int[]) - Method in class com.neovisionaries.ws.client.ByteArray
 
readBits(int[], int) - Method in class com.neovisionaries.ws.client.ByteArray
 
readBody(Map<String, List<String>>, WebSocketInputStream) - Method in class com.neovisionaries.ws.client.HandshakeReader
Read the response body
readBytes(byte[], int) - Method in class com.neovisionaries.ws.client.WebSocketInputStream
 
readCodeLengths(ByteArray, int[], int[], Huffman) - Static method in class com.neovisionaries.ws.client.DeflateUtil
 
readDistance(ByteArray, int[], Huffman) - Static method in class com.neovisionaries.ws.client.DeflateUtil
 
readDynamicTables(ByteArray, int[], Huffman[]) - Static method in class com.neovisionaries.ws.client.DeflateUtil
 
readFrame() - Method in class com.neovisionaries.ws.client.ReadingThread
 
readFrame() - Method in class com.neovisionaries.ws.client.WebSocketInputStream
 
readHandshake(WebSocketInputStream, String) - Method in class com.neovisionaries.ws.client.HandshakeReader
 
readHandshake(WebSocketInputStream, String) - Method in class com.neovisionaries.ws.client.WebSocket
Receive an opening handshake response from the WebSocket server.
readHttpHeaders(WebSocketInputStream) - Method in class com.neovisionaries.ws.client.HandshakeReader
 
READING_THREAD - Enum constant in enum com.neovisionaries.ws.client.ThreadType
A thread which reads WebSocket frames from the server (ReadingThread).
ReadingThread - Class in com.neovisionaries.ws.client
 
ReadingThread(WebSocket) - Constructor for class com.neovisionaries.ws.client.ReadingThread
 
ReadingThread.CloseTask - Class in com.neovisionaries.ws.client
 
readLength(ByteArray, int[], int) - Static method in class com.neovisionaries.ws.client.DeflateUtil
 
readLine() - Method in class com.neovisionaries.ws.client.WebSocketInputStream
 
readLine(InputStream, String) - Static method in class com.neovisionaries.ws.client.Misc
Read a line from the given stream.
readPayload(long, boolean, byte[]) - Method in class com.neovisionaries.ws.client.WebSocketInputStream
 
readStatusLine(WebSocketInputStream) - Method in class com.neovisionaries.ws.client.HandshakeReader
Read a status line from an HTTP server.
readStatusLine(InputStream) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
readSym(ByteArray, int[]) - Method in class com.neovisionaries.ws.client.Huffman
 
receiveResponse(Socket) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
Reconnection - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
recreate() - Method in class com.neovisionaries.ws.client.WebSocket
Create a new WebSocket instance that has the same settings as this instance.
recreate(int) - Method in class com.neovisionaries.ws.client.WebSocket
Create a new WebSocket instance that has the same settings as this instance.
Register Listener - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
removeExtension(WebSocketExtension) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
removeExtension(WebSocketExtension) - Method in class com.neovisionaries.ws.client.WebSocket
Remove an extension from Sec-WebSocket-Extension.
removeExtensions(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
removeExtensions(String) - Method in class com.neovisionaries.ws.client.WebSocket
Remove extensions from Sec-WebSocket-Extension by an extension name.
removeHeaders(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
removeHeaders(String) - Method in class com.neovisionaries.ws.client.WebSocket
Remove pairs of extra HTTP headers.
removeListener(WebSocketListener) - Method in class com.neovisionaries.ws.client.ListenerManager
 
removeListener(WebSocketListener) - Method in class com.neovisionaries.ws.client.WebSocket
Remove a listener from this WebSocket.
removeListeners(List<WebSocketListener>) - Method in class com.neovisionaries.ws.client.ListenerManager
 
removeListeners(List<WebSocketListener>) - Method in class com.neovisionaries.ws.client.WebSocket
Remove listeners.
removeProtocol(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
removeProtocol(String) - Method in class com.neovisionaries.ws.client.WebSocket
Remove a protocol from Sec-WebSocket-Protocol.
requestStop() - Method in class com.neovisionaries.ws.client.WritingThread
 
requestStop(long) - Method in class com.neovisionaries.ws.client.ReadingThread
 
reset() - Method in class com.neovisionaries.ws.client.ProxySettings
Reset the proxy settings.
resolveHostname() - Method in class com.neovisionaries.ws.client.SocketConnector
 
RN - Static variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
RN - Static variable in class com.neovisionaries.ws.client.ProxyHandshaker
 
run() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender.Task
 
run() - Method in class com.neovisionaries.ws.client.ReadingThread.CloseTask
 
run() - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
run() - Method in class com.neovisionaries.ws.client.WebSocketThread
 
runMain() - Method in class com.neovisionaries.ws.client.ConnectThread
 
runMain() - Method in class com.neovisionaries.ws.client.FinishThread
 
runMain() - Method in class com.neovisionaries.ws.client.ReadingThread
 
runMain() - Method in class com.neovisionaries.ws.client.WebSocketThread
 
runMain() - Method in class com.neovisionaries.ws.client.WritingThread
 

S

schedule(Timer, PeriodicalFrameSender.Task, long) - Static method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
scheduleClose() - Method in class com.neovisionaries.ws.client.ReadingThread
 
scheduleCloseTask() - Method in class com.neovisionaries.ws.client.ReadingThread
 
selectSocketFactory() - Method in class com.neovisionaries.ws.client.ProxySettings
 
selectSocketFactory(boolean) - Method in class com.neovisionaries.ws.client.SocketFactorySettings
 
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(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.
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.
sendFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocket
Send a WebSocket frame to the server.
sendFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WritingThread
 
sendFrames(boolean) - Method in class com.neovisionaries.ws.client.WritingThread
 
Send Frames - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
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.
Send Ping/Pong Frames Periodically - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
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.
sendRequest(Socket) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
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.
serialVersionUID - Static variable in exception class com.neovisionaries.ws.client.FormatException
 
serialVersionUID - Static variable in exception class com.neovisionaries.ws.client.HostnameUnverifiedException
 
serialVersionUID - Static variable in exception class com.neovisionaries.ws.client.InsufficientDataException
 
serialVersionUID - Static variable in exception class com.neovisionaries.ws.client.NoMoreFrameException
 
serialVersionUID - Static variable in exception class com.neovisionaries.ws.client.OpeningHandshakeException
 
serialVersionUID - Static variable in exception class com.neovisionaries.ws.client.WebSocketException
 
SERVER - Enum constant in enum com.neovisionaries.ws.client.StateManager.CloseInitiator
 
SERVER_MAX_WINDOW_BITS - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
SERVER_NO_CONTEXT_TAKEOVER - Static variable in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
setAgreedExtensions(List<WebSocketExtension>) - Method in class com.neovisionaries.ws.client.WebSocket
Set the agreed extensions.
setAgreedProtocol(String) - Method in class com.neovisionaries.ws.client.WebSocket
Set the agreed protocol.
setAutoFlush(boolean) - Method in class com.neovisionaries.ws.client.WebSocket
Enable or disable auto-flush of sent frames.
setBit(int, boolean) - Method in class com.neovisionaries.ws.client.ByteArray
 
setByScheme(String) - Method in class com.neovisionaries.ws.client.ProxySettings
 
setByUserInfo(String) - Method in class com.neovisionaries.ws.client.ProxySettings
 
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.
setDualStackSettings(DualStackMode, int) - Method in class com.neovisionaries.ws.client.SocketConnector
 
setException(Exception) - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
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.
setInterval(long) - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
setKey(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
setMask(boolean) - Method in class com.neovisionaries.ws.client.WebSocketFrame
Set the value of MASK bit.
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.
setPayloadGenerator(PayloadGenerator) - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
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(String, String, String, int) - Method in class com.neovisionaries.ws.client.ProxySettings
 
setServer(URI) - 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.
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).
setServerNames(Socket, String[]) - Static method in class com.neovisionaries.ws.client.SNIHelper
 
setServerNames(SSLParameters, String[]) - Static method in class com.neovisionaries.ws.client.SNIHelper
 
setSocket(SocketInitiator.SocketRacer, Socket) - Method in class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
setSocketFactory(SocketFactory) - Method in class com.neovisionaries.ws.client.ProxySettings
Set a socket factory.
setSocketFactory(SocketFactory) - Method in class com.neovisionaries.ws.client.SocketFactorySettings
 
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.
setSoTimeout(int) - Method in class com.neovisionaries.ws.client.SocketConnector
 
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.SocketFactorySettings
 
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.SocketFactorySettings
 
setSSLSocketFactory(SSLSocketFactory) - Method in class com.neovisionaries.ws.client.WebSocketFactory
Set an SSL socket factory.
setState(WebSocketState) - Method in class com.neovisionaries.ws.client.StateManager
 
setTimerName(String) - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
setUserInfo(String) - Method in class com.neovisionaries.ws.client.HandshakeBuilder
 
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.HandshakeBuilder
 
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.SocketConnector
 
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.
shakeHands(Socket) - Method in class com.neovisionaries.ws.client.WebSocket
Perform the opening handshake.
SHOULD_CONTINUE - Static variable in class com.neovisionaries.ws.client.WritingThread
 
SHOULD_FLUSH - Static variable in class com.neovisionaries.ws.client.WritingThread
 
SHOULD_SEND - Static variable in class com.neovisionaries.ws.client.WritingThread
 
SHOULD_STOP - Static variable in class com.neovisionaries.ws.client.WritingThread
 
shrink(int) - Method in class com.neovisionaries.ws.client.ByteArray
 
Signal(int) - Constructor for class com.neovisionaries.ws.client.SocketInitiator.Signal
 
skipBlock(ByteArray, int[], boolean[]) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
skipData(ByteArray, int[], Huffman, Huffman) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
skipDynamicBlock(ByteArray, int[]) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
skipFixedBlock(ByteArray, int[]) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
skipHeaders(InputStream) - Method in class com.neovisionaries.ws.client.ProxyHandshaker
 
skipPlainBlock(ByteArray, int[]) - Static method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
skipQuietly(long) - Method in class com.neovisionaries.ws.client.WebSocketInputStream
 
SNIHelper - Class in com.neovisionaries.ws.client
 
SNIHelper() - Constructor for class com.neovisionaries.ws.client.SNIHelper
 
SOCKET_CONNECT_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
SOCKET_INPUT_STREAM_FAILURE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to get the input stream of the raw socket.
SOCKET_OUTPUT_STREAM_FAILURE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to get the output stream of the raw socket.
SOCKET_OVERLAY_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to overlay an existing socket.
SocketConnector - Class in com.neovisionaries.ws.client
A class to connect to the server.
SocketConnector(SocketFactory, Address, int, int, String[], ProxyHandshaker, SSLSocketFactory, String, int) - Constructor for class com.neovisionaries.ws.client.SocketConnector
 
SocketConnector(SocketFactory, Address, int, String[], int) - Constructor for class com.neovisionaries.ws.client.SocketConnector
 
SocketFactorySettings - Class in com.neovisionaries.ws.client
 
SocketFactorySettings() - Constructor for class com.neovisionaries.ws.client.SocketFactorySettings
 
SocketFactorySettings(SocketFactorySettings) - Constructor for class com.neovisionaries.ws.client.SocketFactorySettings
 
SocketFuture() - Constructor for class com.neovisionaries.ws.client.SocketInitiator.SocketFuture
 
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
 
SocketInitiator.Signal - Class in com.neovisionaries.ws.client
A wait signal will be awaited by a SocketInitiator.SocketRacer before it starts to connect.
SocketInitiator.SocketFuture - Class in com.neovisionaries.ws.client
The socket future is shared across all SocketInitiator.SocketRacer threads and aggregates the results.
SocketInitiator.SocketRacer - Class in com.neovisionaries.ws.client
This thread connects to a socket and notifies a SocketInitiator.SocketFuture shared across all racer threads when it is done.
SocketRacer(SocketInitiator.SocketFuture, SocketFactory, SocketAddress, String[], int, SocketInitiator.Signal, SocketInitiator.Signal) - Constructor for class com.neovisionaries.ws.client.SocketInitiator.SocketRacer
 
split(WebSocketFrame, int) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
 
splitIfNecessary(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocket
 
splitIfNecessary(WebSocketFrame, int, PerMessageCompressionExtension) - Static method in class com.neovisionaries.ws.client.WebSocketFrame
 
sRandom - Static variable in class com.neovisionaries.ws.client.Misc
 
sSetServerNamesMethod - Static variable in class com.neovisionaries.ws.client.SNIHelper
 
SSL_HANDSHAKE_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
SSL handshake with a WebSocket endpoint failed.
sSNIHostNameConstructor - Static variable in class com.neovisionaries.ws.client.SNIHelper
 
start() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
startThreads() - Method in class com.neovisionaries.ws.client.WebSocket
Start both the reading thread and the writing thread.
StateManager - Class in com.neovisionaries.ws.client
 
StateManager() - Constructor for class com.neovisionaries.ws.client.StateManager
 
StateManager.CloseInitiator - Enum in com.neovisionaries.ws.client
 
STATUS_LINE_BAD_FORMAT - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The status line of the opening handshake response is badly formatted.
STATUS_LINE_EMPTY - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The status line of the opening handshake response is empty.
StatusLine - Class in com.neovisionaries.ws.client
HTTP status line returned from an HTTP server.
StatusLine(String) - Constructor for class com.neovisionaries.ws.client.StatusLine
Constructor with a raw status line.
stop() - Method in class com.neovisionaries.ws.client.PeriodicalFrameSender
 
stopThreads(long) - Method in class com.neovisionaries.ws.client.WebSocket
Stop both the reading thread and the writing thread.
stringifyPrincipal(SSLSocket) - Static method in exception class com.neovisionaries.ws.client.HostnameUnverifiedException
 

T

Task() - Constructor for class com.neovisionaries.ws.client.PeriodicalFrameSender.Task
 
TEXT - Static variable in class com.neovisionaries.ws.client.WebSocketOpcode
Opcode for "text frame" (0x1).
TEXT_MESSAGE_CONSTRUCTION_ERROR - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
Failed to convert payload data into a string.
Thread Callbacks - Search tag in class com.neovisionaries.ws.client.WebSocket
Section
ThreadType - Enum in com.neovisionaries.ws.client
Types of threads which are created internally in the implementation.
ThreadType() - Constructor for enum com.neovisionaries.ws.client.ThreadType
 
TIMER_NAME - Static variable in class com.neovisionaries.ws.client.PingSender
 
TIMER_NAME - Static variable in class com.neovisionaries.ws.client.PongSender
 
toBytes() - Method in class com.neovisionaries.ws.client.ByteArray
Convert to a byte array (byte[]).
toBytes(int) - Method in class com.neovisionaries.ws.client.ByteArray
 
toBytes(int, int) - Method in class com.neovisionaries.ws.client.ByteArray
 
Token - Class in com.neovisionaries.ws.client
 
Token() - Constructor for class com.neovisionaries.ws.client.Token
 
TOO_LONG_CONTROL_FRAME_PAYLOAD - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The payload size of a control frame exceeds the maximum size (125 bytes).
TOO_LONG_PAYLOAD - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The payload length of a frame exceeds the maximum array size in Java.
toOpcodeName(int) - Static method in class com.neovisionaries.ws.client.Misc
Convert a WebSocket opcode into a string representation.
toString() - Method in class com.neovisionaries.ws.client.Address
 
toString() - Method in class com.neovisionaries.ws.client.StatusLine
Get the string representation of this instance, which is equal to the raw status line.
toString() - Method in class com.neovisionaries.ws.client.WebSocketExtension
Stringify this object into the format "{name}[; {key}[={value}]]*".
toString() - Method in class com.neovisionaries.ws.client.WebSocketFrame
 
toStringUTF8(byte[]) - Static method in class com.neovisionaries.ws.client.Misc
Convert a UTF-8 byte array into a string.
toStringUTF8(byte[], int, int) - Static method in class com.neovisionaries.ws.client.Misc
Convert a UTF-8 byte array into a string.

U

UNACCEPTABLE - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1003; 1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
UNCONFORMED - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1002; 1002 indicates that an endpoint is terminating the connection due to a protocol error.
unescape(String) - Static method in class com.neovisionaries.ws.client.Token
 
UNEXPECTED - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1011; 1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
UNEXPECTED_CONTINUATION_FRAME - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
A continuation frame was detected although a continuation had not started.
UNEXPECTED_ERROR_IN_READING_THREAD - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
An uncaught throwable was detected in the reading thread (which reads frames from the server).
UNEXPECTED_ERROR_IN_WRITING_THREAD - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
An uncaught throwable was detected in the writing thread (which sends frames to the server).
UNEXPECTED_RESERVED_BIT - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
A reserved bit of a frame has an unexpected value.
UNEXPECTED_SEC_WEBSOCKET_ACCEPT_HEADER - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The value of Sec-WebSocket-Accept header is different from the expected one.
UNEXTENDED - Static variable in class com.neovisionaries.ws.client.WebSocketCloseCode
1010; 1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake. The list of extensions that are needed SHOULD appear in the /reason/ part of the Close frame. Note that this status code is not used by the server, because it can fail the WebSocket handshake instead.
UNKNOWN_OPCODE - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
A frame has an unknown opcode.
unquote(String) - Static method in class com.neovisionaries.ws.client.Token
 
UNSUPPORTED_EXTENSION - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The extension contained in Sec-WebSocket-Extensions header is not supported.
UNSUPPORTED_PROTOCOL - Enum constant in enum com.neovisionaries.ws.client.WebSocketError
The protocol contained in Sec-WebSocket-Protocol header is not supported.
UPGRADE_HEADER - Static variable in class com.neovisionaries.ws.client.HandshakeBuilder
 

V

validate() - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
validate() - Method in class com.neovisionaries.ws.client.WebSocketExtension
Validate this instance.
validateAccept(StatusLine, Map<String, List<String>>, String) - Method in class com.neovisionaries.ws.client.HandshakeReader
Validate the value of Sec-WebSocket-Accept header.
validateConnection(StatusLine, Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.HandshakeReader
Validate the value of Connection header.
validateExtensionCombination(StatusLine, Map<String, List<String>>, List<WebSocketExtension>) - Method in class com.neovisionaries.ws.client.HandshakeReader
 
validateExtensions(StatusLine, Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.HandshakeReader
Validate the value of Sec-WebSocket-Extensions header.
validateParameter(String, String) - Method in class com.neovisionaries.ws.client.PerMessageDeflateExtension
 
validateProtocol(StatusLine, Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.HandshakeReader
Validate the value of Sec-WebSocket-Protocol header.
validateStatusLine(StatusLine, Map<String, List<String>>, WebSocketInputStream) - Method in class com.neovisionaries.ws.client.HandshakeReader
Validate the status line.
validateUpgrade(StatusLine, Map<String, List<String>>) - Method in class com.neovisionaries.ws.client.HandshakeReader
Validate the value of Upgrade header.
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.StateManager.CloseInitiator
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.StateManager.CloseInitiator
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.
verify(String, X509Certificate) - Method in class com.neovisionaries.ws.client.OkHostnameVerifier
 
verify(String, SSLSession) - Method in class com.neovisionaries.ws.client.OkHostnameVerifier
 
VERIFY_AS_IP_ADDRESS - Static variable in class com.neovisionaries.ws.client.OkHostnameVerifier
Quick and dirty pattern to differentiate IP addresses from hostnames.
verifyAsIpAddress(String) - Static method in class com.neovisionaries.ws.client.OkHostnameVerifier
 
verifyFrame(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
verifyFrameFragmentation(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
verifyFrameMask(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Ensure that the given frame is not masked.
verifyFrameOpcode(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Ensure that the opcode of the give frame is a known one.
verifyFrameSize(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
verifyHostname(SSLSocket, String) - Method in class com.neovisionaries.ws.client.SocketConnector
 
verifyHostName(String, String) - Method in class com.neovisionaries.ws.client.OkHostnameVerifier
Returns true iff hostName matches the domain name pattern.
verifyHostName(String, X509Certificate) - Method in class com.neovisionaries.ws.client.OkHostnameVerifier
Returns true if certificate matches hostName.
verifyIpAddress(String, X509Certificate) - Method in class com.neovisionaries.ws.client.OkHostnameVerifier
Returns true if certificate matches ipAddress.
verifyReservedBit1(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Verify the RSV1 bit of a frame.
verifyReservedBit1ForPMCE(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Verify the RSV1 bit of a frame using the rule described in RFC 7692.
verifyReservedBit2(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Verify the RSV2 bit of a frame.
verifyReservedBit3(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
Verify the RSV3 bit of a frame.
verifyReservedBits(WebSocketFrame) - Method in class com.neovisionaries.ws.client.ReadingThread
 
VERSION_HEADER - Static variable in class com.neovisionaries.ws.client.HandshakeBuilder
 
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.

W

waitForCloseFrame() - Method in class com.neovisionaries.ws.client.ReadingThread
 
waitForFrames() - Method in class com.neovisionaries.ws.client.WritingThread
 
WebSocket - Class in com.neovisionaries.ws.client
WebSocket.
WebSocket(WebSocketFactory, boolean, String, String, String, SocketConnector) - Constructor for class com.neovisionaries.ws.client.WebSocket
 
WebSocketAdapter - Class in com.neovisionaries.ws.client
An empty implementation of WebSocketListener interface.
WebSocketAdapter() - Constructor for class com.neovisionaries.ws.client.WebSocketAdapter
 
WebSocketCloseCode - Class in com.neovisionaries.ws.client
Close code.
WebSocketCloseCode() - Constructor for class com.neovisionaries.ws.client.WebSocketCloseCode
 
WebSocketError - Enum in com.neovisionaries.ws.client
WebSocket error codes.
WebSocketError() - Constructor for enum com.neovisionaries.ws.client.WebSocketError
 
WebSocketException - Exception Class in com.neovisionaries.ws.client
WebSocket exception.
WebSocketException(WebSocketError) - Constructor for exception class com.neovisionaries.ws.client.WebSocketException
 
WebSocketException(WebSocketError, String) - Constructor for exception class com.neovisionaries.ws.client.WebSocketException
 
WebSocketException(WebSocketError, String, Throwable) - Constructor for exception class com.neovisionaries.ws.client.WebSocketException
 
WebSocketException(WebSocketError, Throwable) - Constructor for exception class com.neovisionaries.ws.client.WebSocketException
 
WebSocketExtension - Class in com.neovisionaries.ws.client
A class to hold the name and the parameters of a WebSocket extension.
WebSocketExtension(WebSocketExtension) - Constructor for class com.neovisionaries.ws.client.WebSocketExtension
Copy constructor.
WebSocketExtension(String) - Constructor for class com.neovisionaries.ws.client.WebSocketExtension
Constructor with an extension name.
WebSocketFactory - Class in com.neovisionaries.ws.client
Factory to create WebSocket instances.
WebSocketFactory() - Constructor for class com.neovisionaries.ws.client.WebSocketFactory
Constructor.
WebSocketFactory(WebSocketFactory) - Constructor for class com.neovisionaries.ws.client.WebSocketFactory
Copy constructor.
WebSocketFrame - Class in com.neovisionaries.ws.client
WebSocket frame.
WebSocketFrame() - Constructor for class com.neovisionaries.ws.client.WebSocketFrame
 
WebSocketInputStream - Class in com.neovisionaries.ws.client
 
WebSocketInputStream(InputStream) - Constructor for class com.neovisionaries.ws.client.WebSocketInputStream
 
WebSocketListener - Interface in com.neovisionaries.ws.client
Listener interface to receive WebSocket events.
WebSocketOpcode - Class in com.neovisionaries.ws.client
Opcode.
WebSocketOpcode() - Constructor for class com.neovisionaries.ws.client.WebSocketOpcode
 
WebSocketOutputStream - Class in com.neovisionaries.ws.client
 
WebSocketOutputStream(OutputStream) - Constructor for class com.neovisionaries.ws.client.WebSocketOutputStream
 
WebSocketState - Enum in com.neovisionaries.ws.client
WebSocket state.
WebSocketState() - Constructor for enum com.neovisionaries.ws.client.WebSocketState
 
WebSocketThread - Class in com.neovisionaries.ws.client
 
WebSocketThread(String, WebSocket, ThreadType) - Constructor for class com.neovisionaries.ws.client.WebSocketThread
 
write(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketOutputStream
 
write(String) - Method in class com.neovisionaries.ws.client.WebSocketOutputStream
 
writeFrame0(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketOutputStream
 
writeFrame1(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketOutputStream
 
writeFrameExtendedPayloadLength(WebSocketFrame) - Method in class com.neovisionaries.ws.client.WebSocketOutputStream
 
writeFramePayload(WebSocketFrame, byte[]) - Method in class com.neovisionaries.ws.client.WebSocketOutputStream
 
writeHandshake(WebSocketOutputStream, String) - Method in class com.neovisionaries.ws.client.WebSocket
Send an opening handshake request to the WebSocket server.
WRITING_THREAD - Enum constant in enum com.neovisionaries.ws.client.ThreadType
A thread which sends WebSocket frames to the server (WritingThread).
WritingThread - Class in com.neovisionaries.ws.client
 
WritingThread(WebSocket) - Constructor for class com.neovisionaries.ws.client.WritingThread
 
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form