Package | Description |
---|---|
org.java_websocket | |
org.java_websocket.drafts | |
org.java_websocket.handshake | |
org.java_websocket.server |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketAdapter.onWebsocketHandshakeReceivedAsClient(WebSocket conn,
ClientHandshake request,
ServerHandshake response) |
void |
WebSocketListener.onWebsocketHandshakeReceivedAsClient(WebSocket conn,
ClientHandshake request,
ServerHandshake response)
Called on the client side when the socket connection is first established, and the WebSocketImpl
handshake response has been received.
|
ServerHandshakeBuilder |
WebSocketAdapter.onWebsocketHandshakeReceivedAsServer(WebSocket conn,
Draft draft,
ClientHandshake request)
This default implementation does not do anything.
|
ServerHandshakeBuilder |
WebSocketListener.onWebsocketHandshakeReceivedAsServer(WebSocket conn,
Draft draft,
ClientHandshake request)
Called on the server side when the socket connection is first established, and the WebSocket
handshake has been received.
|
void |
WebSocketAdapter.onWebsocketHandshakeSentAsClient(WebSocket conn,
ClientHandshake request)
This default implementation does not do anything which will cause the connections to always progress.
|
void |
WebSocketListener.onWebsocketHandshakeSentAsClient(WebSocket conn,
ClientHandshake request)
Called on the client side when the socket connection is first established, and the WebSocketImpl
handshake has just been sent.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClientHandshakeBuilder |
Modifier and Type | Class and Description |
---|---|
class |
HandshakeImpl1Client |
Modifier and Type | Method and Description |
---|---|
abstract void |
WebSocketServer.onOpen(WebSocket conn,
ClientHandshake handshake)
Called after an opening handshake has been performed and the given websocket is ready to be written on.
|
Copyright © 2013. All Rights Reserved.