Skip to content
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

How to use JDK HttpClient with web services? #1342

Closed
turboezh opened this issue Mar 27, 2023 · 2 comments
Closed

How to use JDK HttpClient with web services? #1342

turboezh opened this issue Mar 27, 2023 · 2 comments

Comments

@turboezh
Copy link

Hi.

I would like to use java.net.http.HttpClient (not HttpURLConnection) to call remote services and can't figure out how to do it. I didn't find neither implemented WebServiceMessageSender nor ClientHttpRequestFactory for it as if JDK HttpClient is ignored by Spring.

So I wonder if there any reason to avoid it? Should I use 3d party HTTP client? Or it's just a not-implemented-yet situation?

@gregturn gregturn linked a pull request May 12, 2023 that will close this issue
@gregturn gregturn added this to the 4.0.5 milestone May 12, 2023
@gregturn gregturn self-assigned this May 12, 2023
@gregturn
Copy link
Contributor

Resolved.

@gregturn
Copy link
Contributor

Check it out @turboezh. We have a new option on the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants