WebSocketConnectionManager that starts a WebSocket connection
to a pre-configured URI when the application starts.
WebSocketConnectionManager
| Modifier and Type | Method and Description |
|---|---|
| public default ListenableFuture | Returns: a future that completes when the session is availablethe session handler webSocketHandler, String the url template uriTemplate, Object... the variables to expand the template uriVariables)
Deprecated
since 6.0. as of 6.0, in favor of
execute(WebSocketHandler, String, Object.
Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler. |
| public default ListenableFuture | Returns: a future that completes when the session is availablethe session handler webSocketHandler, WebSocketHttpHeaders headers, URI the url uri)
Deprecated
since 6.0. as of 6.0, in favor of
execute(WebSocketHandler, WebSocketHttpHeaders, URI)
Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler. |
| public CompletableFuture | Returns: a future that completes when the session is availablethe session handler webSocketHandler, String the url template uriTemplate, Object... the variables to expand the template uriVariables)Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler. |
| public CompletableFuture | Returns: a future that completes when the session is availablethe session handler webSocketHandler, WebSocketHttpHeaders headers, URI the url uri)Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler. |
| doHandshake | back to summary |
|---|---|
| public default ListenableFuture Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.
| |
| doHandshake | back to summary |
|---|---|
| public default ListenableFuture Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.
| |
| execute | back to summary |
|---|---|
| public CompletableFuture Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.
| |
| execute | back to summary |
|---|---|
| public CompletableFuture Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.
| |