HTTP Client and WebSocket APIs
-
HttpRequest.Builder.build()
Returns the
HttpRequest
corresponding to this response.
void
Notification of an incoming push promise.
Creates a Builder
whose initial state is copied from an existing
HttpRequest
.
Sends the given request using this client, blocking if necessary to get
the response.
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.
Returns a push promise handler that accumulates push promises, and
their responses, into the given map.
Returns a push promise handler that accumulates push promises, and
their responses, into the given map.