The high-level interface to create a WebSocket server based on "messages".
The high-level interface to create a WebSocket server based on "messages".
Returns a response to return in a request handler that will signal the low-level HTTP implementation to upgrade the connection to WebSocket and use the supplied handler to handle incoming WebSocket messages.
Optionally, a subprotocol out of the ones requested by the client can be chosen.
A sequence of protocols the client accepts.
A sequence of protocols the client accepts.
See http://tools.ietf.org/html/rfc6455#section-1.9
Java API
Java API
Java API
Java API
Java API
Java API
Java API
Java API
Java API
Java API
The high-level interface to create a WebSocket server based on "messages".
The high-level interface to create a WebSocket server based on "messages".
Returns a response to return in a request handler that will signal the low-level HTTP implementation to upgrade the connection to WebSocket and use the supplied inSink to consume messages received from the client and the supplied outSource to produce message to sent to the client.
Optionally, a subprotocol out of the ones requested by the client can be chosen.
A custom header that will be added to an WebSocket upgrade HttpRequest that enables a request handler to upgrade this connection to a WebSocket connection and registers a WebSocket handler.