-
Notifications
You must be signed in to change notification settings - Fork 38.5k
JDK 11 HttpClient integration with WebClient [SPR-16469] #21014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sébastien Deleuze commented A draft prototype can be found at https://github.com/sdeleuze/jdk-http-webclient/. |
Sébastien Deleuze commented Our integration tests are all green with regular HTTP endpoints but not with streaming ones. I have sent a mail to the net-dev mailing list to describe the issue and get a feedback. |
Sébastien Deleuze commented Leveraging a Since this feature provides a |
I have upgraded the prototype to JDK 11 and Spring Framework 5.1, but it seems most tests are broken. Most significant change has been that we now leverage |
This a simple implementation of ClientHttpResponse that levrage JDK 11 HttpClient. Closes spring-projectsgh-21014
Rossen Stoyanchev opened SPR-16469 and commented
According to this blog post the HttpClient "handles request and response bodies as reactive-streams", and it is currently in incubation status, but will be made official in JDK 11 when it will switch to
java.net
fromjdk.incubator
.Given the JDK 11 release dates, this is probably a 5.2 target. However, at present, we need to experiment with the proposed API to see if there any issues in adapting it through a
ClientHttpConnector
, and raise issues if necessary.JDK HTTP Client - JEP 321 - Update
Affects: 5.0.3
Issue Links:
0 votes, 6 watchers
The text was updated successfully, but these errors were encountered: