See: Description
| Interface | Description |
|---|---|
| PayloadGenerator |
Payload generator.
|
| WebSocketListener |
Listener interface to receive WebSocket events.
|
| Class | Description |
|---|---|
| ProxySettings |
Proxy settings.
|
| SocketInitiator |
Lets multiple sockets race the given IP addresses until one has been
established.
|
| StatusLine |
HTTP status line returned from an HTTP server.
|
| WebSocket |
WebSocket.
|
| WebSocketAdapter |
An empty implementation of
WebSocketListener interface. |
| WebSocketCloseCode |
Close code.
|
| WebSocketExtension |
A class to hold the name and the parameters of
a WebSocket extension.
|
| WebSocketFactory |
Factory to create
WebSocket instances. |
| WebSocketFrame |
WebSocket frame.
|
| WebSocketOpcode |
Opcode.
|
| Enum | Description |
|---|---|
| DualStackMode |
The dual stack mode defines which IP address families will be used to
establish a connection.
|
| ThreadType |
Types of threads which are created internally in the implementation.
|
| WebSocketError |
WebSocket error codes.
|
| WebSocketState |
WebSocket state.
|
| Exception | Description |
|---|---|
| HostnameUnverifiedException |
The certificate of the peer does not match the expected hostname.
|
| OpeningHandshakeException |
An exception raised due to a violation against the WebSocket protocol.
|
| WebSocketException |
WebSocket exception.
|
SocketFactory interface,
wss) through
"Secure Proxy" (https),
See the description of WebSocket
class for usage. The source code is hosted at
GitHub.
For Maven:
<dependency> <groupId>com.neovisionaries</groupId> <artifactId>nv-websocket-client</artifactId> <version>2.14</version> </dependency>
Copyright © 2021. All rights reserved.