Package | Description |
---|---|
org.java_websocket | |
org.java_websocket.client |
This package encapsulates all implementations in relation with the WebSocketClient.
|
org.java_websocket.drafts |
This package encapsulates all implementations in relation with the WebSocket drafts.
|
org.java_websocket.handshake |
This package encapsulates all interfaces and implementations in relation with the WebSocket
handshake.
|
org.java_websocket.server |
This package encapsulates all implementations in relation with the WebSocketServer.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketListener.onWebsocketOpen(WebSocket conn,
Handshakedata d)
Called after onHandshakeReceived returns true.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketClient.onWebsocketOpen(WebSocket conn,
Handshakedata handshake)
Calls subclass' implementation of onOpen.
|
Modifier and Type | Method and Description |
---|---|
Handshakedata |
Draft.translateHandshake(ByteBuffer buf) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Draft.basicAccept(Handshakedata handshakedata) |
List<ByteBuffer> |
Draft.createHandshake(Handshakedata handshakedata) |
List<ByteBuffer> |
Draft.createHandshake(Handshakedata handshakedata,
boolean withcontent) |
List<ByteBuffer> |
Draft.createHandshake(Handshakedata handshakedata,
Role ownrole)
Deprecated.
use createHandshake without the role
|
List<ByteBuffer> |
Draft.createHandshake(Handshakedata handshakedata,
Role ownrole,
boolean withcontent)
Deprecated.
use createHandshake without the role since it does not have any effect
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClientHandshake
The interface for a client handshake
|
interface |
ClientHandshakeBuilder
The interface for building a handshake for the client
|
interface |
HandshakeBuilder
The interface for building a handshake
|
interface |
ServerHandshake
Interface for the server handshake
|
interface |
ServerHandshakeBuilder
The interface for building a handshake for the server
|
Modifier and Type | Class and Description |
---|---|
class |
HandshakedataImpl1
Implementation of a handshake builder
|
class |
HandshakeImpl1Client
Implementation for a client handshake
|
class |
HandshakeImpl1Server
Implementation for a server handshake
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketServer.onWebsocketOpen(WebSocket conn,
Handshakedata handshake) |
Copyright © 2022. All rights reserved.