Package org.eclipse.jetty.websocket.client
Jetty WebSocket Client API
The core class is WebSocketClient
, which acts as a central configuration object (for example
for WebSocketClient.setConnectTimeout(long)
,
WebSocketClient.setCookieStore(java.net.CookieStore)
,
etc.) and as a factory for WebSocket Session
objects.
The WebSocket protocol is based on a framing protocol built around an upgraded HTTP connection. It is primarily focused on the sending of messages (text or binary), with an occasional control frame (close, ping, pong) that this implementation uses.
WebSocketClient
holds a number of Session
, which in turn
is used to manage physical vs virtual connection handling (mux extension).
-
Class Summary Class Description ClientUpgradeRequest Allowing a generate from a UpgradeRequestClientUpgradeResponse HttpClientProvider NoOpEndpoint WebSocket endpoint that does nothing.WebSocketClient WebSocketClient provides a means of establishing connections to remote websocket endpoints.WebSocketUpgradeRequest