Package | Description |
---|---|
org.java_websocket | |
org.java_websocket.client |
This package encapsulates all implementations in relation with the WebSocketClient.
|
org.java_websocket.server |
This package encapsulates all implementations in relation with the WebSocketServer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWebSocket
Base class for additional implementations for the server as well as the client
|
Modifier and Type | Method and Description |
---|---|
WebSocketImpl |
WebSocketServerFactory.createWebSocket(WebSocketAdapter a,
Draft d) |
WebSocket |
WebSocketFactory.createWebSocket(WebSocketAdapter a,
Draft d)
Create a new Websocket with the provided listener, drafts and socket
|
WebSocketImpl |
WebSocketServerFactory.createWebSocket(WebSocketAdapter a,
List<Draft> drafts) |
WebSocket |
WebSocketFactory.createWebSocket(WebSocketAdapter a,
List<Draft> drafts)
Create a new Websocket with the provided listener, drafts and socket
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClient
A subclass must implement at least onOpen, onClose, and
onMessage to be useful.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketServer
WebSocketServer is an abstract class that only takes care of the
HTTP handshake portion of WebSockets.
|
Modifier and Type | Method and Description |
---|---|
WebSocketImpl |
DefaultWebSocketServerFactory.createWebSocket(WebSocketAdapter a,
Draft d) |
WebSocketImpl |
DefaultSSLWebSocketServerFactory.createWebSocket(WebSocketAdapter a,
Draft d) |
WebSocketImpl |
DefaultWebSocketServerFactory.createWebSocket(WebSocketAdapter a,
List<Draft> d) |
WebSocketImpl |
DefaultSSLWebSocketServerFactory.createWebSocket(WebSocketAdapter a,
List<Draft> d) |
Copyright © 2022. All rights reserved.