Uses of Interface jdk.incubator.http.HttpResponse.BodyProcessor (Java SE 9 & JDK 9 )

## Uses of Interface
jdk.incubator.http.HttpResponse.BodyProcessor

- Packages that use HttpResponse.BodyProcessor
  Package | Description
  --- | ---
  jdk.incubator.http | High level HTTP and WebSocket API

- - ### Uses of HttpResponse.BodyProcessor in jdk.incubator.http

    Methods in jdk.incubator.http that return HttpResponse.BodyProcessor
    Modifier and Type | Method | Description
    --- | --- | ---
    `HttpResponse.BodyProcessor<T>` | HttpResponse.BodyHandler.`apply​(int statusCode, HttpHeaders responseHeaders)` | Returns a `BodyProcessor` considering the given response status code and headers.
    `static HttpResponse.BodyProcessor<byte[]>` | HttpResponse.BodyProcessor.`asByteArray​()` | Returns a `BodyProcessor` which stores the response body as a byte array.
    `static HttpResponse.BodyProcessor<Void>` | HttpResponse.BodyProcessor.`asByteArrayConsumer​(Consumer<Optional<byte[]>> consumer)` | Returns a `BodyProcessor` which provides the incoming body data to the provided Consumer of `Optional<byte[]>`.
    `static HttpResponse.BodyProcessor<Path>` | HttpResponse.BodyProcessor.`asFile​(Path file)` | Returns a `BodyProcessor` which stores the response body in a file opened with the given name.
    `static HttpResponse.BodyProcessor<Path>` | HttpResponse.BodyProcessor.`asFile​(Path file, OpenOption... openOptions)` | Returns a `BodyProcessor` which stores the response body in a file opened with the given options and name.
    `static HttpResponse.BodyProcessor<String>` | HttpResponse.BodyProcessor.`asString​(Charset charset)` | Returns a body processor which stores the response body as a `String` converted using the given `Charset`.
    `static <U> HttpResponse.BodyProcessor<U>` | HttpResponse.BodyProcessor.`discard​(U value)` | Returns a response processor which discards the response body.