Modifier and Type | Method | Description |
---|---|---|
abstract HttpHeaders |
HttpRequest.headers() |
The (user-accessible) request headers that this request was (or will be)
sent with.
|
abstract HttpHeaders |
HttpResponse.headers() |
Returns the received response headers.
|
Modifier and Type | Method | Description |
---|---|---|
abstract CompletableFuture<HttpHeaders> |
HttpResponse.trailers() |
Returns the received response trailers, if there are any, when they
become available.
|
Modifier and Type | Method | Description |
---|---|---|
HttpResponse.BodyProcessor<T> |
HttpResponse.BodyHandler.apply(int statusCode,
HttpHeaders responseHeaders) |
Return a
BodyProcessor considering the given response status
code and headers. |
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2