Uses of Class
jdk.incubator.http.HttpResponse
-
Packages that use HttpResponse Package Description jdk.incubator.http High level HTTP and WebSocket API -
-
Uses of HttpResponse in jdk.incubator.http
Methods in jdk.incubator.http that return HttpResponse Modifier and Type Method Description HttpResponse<?>
WebSocketHandshakeException. getResponse()
Returns the server's counterpart of the opening handshake.abstract <T> HttpResponse<T>
HttpClient. send(HttpRequest req, HttpResponse.BodyHandler<T> responseBodyHandler)
Sends the given request using this client, blocking if necessary to get the response.Methods in jdk.incubator.http that return types with arguments of type HttpResponse Modifier and Type Method Description Set<Map.Entry<HttpRequest,CompletableFuture<HttpResponse<V>>>>
MultiMapResult. entrySet()
CompletableFuture<HttpResponse<V>>
MultiMapResult. get(Object key)
CompletableFuture<HttpResponse<V>>
MultiMapResult. put(HttpRequest key, CompletableFuture<HttpResponse<V>> value)
CompletableFuture<HttpResponse<V>>
MultiMapResult. remove(Object key)
abstract <T> CompletableFuture<HttpResponse<T>>
HttpClient. sendAsync(HttpRequest req, HttpResponse.BodyHandler<T> responseBodyHandler)
Sends the given request asynchronously using this client and the given response handler.Collection<CompletableFuture<HttpResponse<V>>>
MultiMapResult. values()
Methods in jdk.incubator.http with parameters of type HttpResponse Modifier and Type Method Description void
HttpResponse.MultiProcessor. onResponse(HttpResponse<T> response)
Called for each response received.Method parameters in jdk.incubator.http with type arguments of type HttpResponse Modifier and Type Method Description CompletableFuture<HttpResponse<V>>
MultiMapResult. put(HttpRequest key, CompletableFuture<HttpResponse<V>> value)
void
MultiMapResult. putAll(Map<? extends HttpRequest,? extends CompletableFuture<HttpResponse<V>>> m)
Constructors in jdk.incubator.http with parameters of type HttpResponse Constructor Description WebSocketHandshakeException(HttpResponse<?> response)
-