-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
11
This issue has been filed to capture an accepted proposal that arose during JEP review on
http://mail.openjdk.java.net/pipermail/net-dev/2018-April/011314.html
---
A carrier type for the initial response information ( to be passed to the BodyHandler API ) is more friendly to future evolution, if more information is required, such as the protocol version.
Something along the lines of:
ResponseInfo {
int statusCode() {... }
HttpHeaders responseHeaders { ... }
HttpClient.Version version() { ... }
}
http://mail.openjdk.java.net/pipermail/net-dev/2018-April/011314.html
---
A carrier type for the initial response information ( to be passed to the BodyHandler API ) is more friendly to future evolution, if more information is required, such as the protocol version.
Something along the lines of:
ResponseInfo {
int statusCode() {... }
HttpHeaders responseHeaders { ... }
HttpClient.Version version() { ... }
}
- csr for
-
JDK-8201361 More evolution friendly BodyHandler API
-
- Closed
-