HTTP Client and WebSocket APIs
-
Returns the server's counterpart of the opening handshake.
Sends the given request using this client, blocking if necessary to get
the response.
Returns an Optional
containing the previous intermediate response
if one was received.
Sends the given request asynchronously using this client with the given
response body handler.
Sends the given request asynchronously using this client with the given
response body handler and push promise handler.
void
Notification of an incoming push promise.
Returns a push promise handler that accumulates push promises, and
their responses, into the given map.
Constructs a WebSocketHandshakeException
with the given
HttpResponse
.