Uses of Interface
org.java_websocket.handshake.ClientHandshake
Packages that use ClientHandshake
Package
Description
This package encapsulates all implementations in relation with the WebSocket drafts.
This package encapsulates all interfaces and implementations in relation with the WebSocket
handshake.
This package encapsulates all implementations in relation with the WebSocketServer.
-
Uses of ClientHandshake in org.java_websocket
Methods in org.java_websocket with parameters of type ClientHandshakeModifier and TypeMethodDescriptionvoidWebSocketAdapter.onWebsocketHandshakeReceivedAsClient(WebSocket conn, ClientHandshake request, ServerHandshake response) voidWebSocketListener.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.WebSocketAdapter.onWebsocketHandshakeReceivedAsServer(WebSocket conn, Draft draft, ClientHandshake request) This default implementation does not do anything.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.voidWebSocketAdapter.onWebsocketHandshakeSentAsClient(WebSocket conn, ClientHandshake request) This default implementation does not do anything which will cause the connections to always progress.voidWebSocketListener.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. -
Uses of ClientHandshake in org.java_websocket.drafts
Methods in org.java_websocket.drafts with parameters of type ClientHandshakeModifier and TypeMethodDescriptionDraft_6455.acceptHandshakeAsClient(ClientHandshake request, ServerHandshake response) abstract HandshakeStateDraft.acceptHandshakeAsClient(ClientHandshake request, ServerHandshake response) Draft_6455.acceptHandshakeAsServer(ClientHandshake handshakedata) abstract HandshakeStateDraft.acceptHandshakeAsServer(ClientHandshake handshakedata) Draft_6455.postProcessHandshakeResponseAsServer(ClientHandshake request, ServerHandshakeBuilder response) abstract HandshakeBuilderDraft.postProcessHandshakeResponseAsServer(ClientHandshake request, ServerHandshakeBuilder response) -
Uses of ClientHandshake in org.java_websocket.handshake
Subinterfaces of ClientHandshake in org.java_websocket.handshakeModifier and TypeInterfaceDescriptioninterfaceThe interface for building a handshake for the clientClasses in org.java_websocket.handshake that implement ClientHandshakeModifier and TypeClassDescriptionclassImplementation for a client handshake -
Uses of ClientHandshake in org.java_websocket.server
Methods in org.java_websocket.server with parameters of type ClientHandshakeModifier and TypeMethodDescriptionabstract voidWebSocketServer.onOpen(WebSocket conn, ClientHandshake handshake) Called after an opening handshake has been performed and the given websocket is ready to be written on.