Uses of Class jdk.incubator.http.HttpRequest (Java SE 10 & JDK 10 )

## 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 HttpRequest` | HttpRequest.Builder.`build()` | Builds and returns a `HttpRequest`.
    `abstract HttpRequest` | HttpResponse.`request()` | Returns the `HttpRequest` corresponding to this response.

    Methods in jdk.incubator.http with parameters of type HttpRequest
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | HttpResponse.MultiSubscriber.`onError​(HttpRequest request, Throwable t)` | Called if an error occurs receiving a response.
    `Optional<HttpResponse.BodyHandler<T>>` | HttpResponse.MultiSubscriber.`onPushPromise​(HttpRequest pushPromise)` | Called for each push promise that is received.
    `HttpResponse.BodyHandler<T>` | HttpResponse.MultiSubscriber.`onRequest​(HttpRequest request)` | Called for the main request from the user.
    `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.MultiSubscriber<U,T> multiSubscriber)` | 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.MultiSubscriber<MultiMapResult<V>,V>` | HttpResponse.MultiSubscriber.`asMap​(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> reqHandler)` | Returns a general purpose handler for multi responses.
    `static <V> HttpResponse.MultiSubscriber<MultiMapResult<V>,V>` | HttpResponse.MultiSubscriber.`asMap​(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> reqHandler, boolean completion)` | Returns a general purpose handler for multi responses.