Uses of Class
jdk.incubator.http.HttpRequest
-
Packages that use HttpRequest Package Description jdk.incubator.http High level HTTP and WebSocket API -
-
Uses of HttpRequest in jdk.incubator.http
Methods in jdk.incubator.http that return HttpRequest Modifier and Type Method Description abstract HttpRequestHttpRequest.Builder. build()Builds and returns aHttpRequest.abstract HttpRequestHttpResponse. finalRequest()Returns the finalHttpRequestthat was sent on the wire for the exchange ( may, or may not, be the same as the initial request ).abstract HttpRequestHttpResponse. request()Returns the initialHttpRequestthat initiated the exchange.Methods in jdk.incubator.http that return types with arguments of type HttpRequest Modifier and Type Method Description Set<Map.Entry<HttpRequest,CompletableFuture<HttpResponse<V>>>>MultiMapResult. entrySet()Set<HttpRequest>MultiMapResult. keySet()Methods in jdk.incubator.http with parameters of type HttpRequest Modifier and Type Method Description voidHttpResponse.MultiProcessor. onError(HttpRequest request, Throwable t)Called if an error occurs receiving a response.Optional<HttpResponse.BodyHandler<T>>HttpResponse.MultiProcessor. onRequest(HttpRequest request)Called for the main request and each push promise that is received.CompletableFuture<HttpResponse<V>>MultiMapResult. put(HttpRequest key, CompletableFuture<HttpResponse<V>> value)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.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.abstract <U,T> CompletableFuture<U>HttpClient. sendAsync(HttpRequest req, HttpResponse.MultiProcessor<U,T> multiProcessor)Sends the given request asynchronously using this client and the given multi response handler.Method parameters in jdk.incubator.http with type arguments of type HttpRequest Modifier and Type Method Description static <V> HttpResponse.MultiProcessor<MultiMapResult<V>,V>HttpResponse.MultiProcessor. asMap(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler)Returns a general purpose handler for multi responses.static <V> HttpResponse.MultiProcessor<MultiMapResult<V>,V>HttpResponse.MultiProcessor. asMap(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler, boolean completion)Returns a general purpose handler for multi responses.voidMultiMapResult. putAll(Map<? extends HttpRequest,? extends CompletableFuture<HttpResponse<V>>> m)
-