Package | Description |
---|---|
java.net.http |
High level HTTP and WebSocket API
|
Modifier and Type | Method and 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.
|
abstract HttpHeaders |
HttpResponse.trailers()
Returns the received response trailers, if there are any.
|
Modifier and Type | Method and Description |
---|---|
T |
HttpResponse.BodyProcessor.onResponseBodyStart(long contentLength,
HttpHeaders responseHeaders,
LongConsumer flowController)
Called immediately before the response body is read.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-ea+126