KongHQ Unirest Java with HTTClient5 #537
Answered
by
ryber
hell-storm2004
asked this question in
Q&A
-
|
I just wanted to know , is unirest-java compatible with Apache httpclient5? |
Beta Was this translation helpful? Give feedback.
Answered by
ryber
Dec 10, 2024
Replies: 1 comment 1 reply
-
|
No, Http Client 5 took a radically different approach from previous versions when it comes to asynchronous requests. They are now fully reactive. That pattern just did not jive with how Unirest does async. I took at least 3 different full attempts to make it fit but in the end chose to move towards the native Java HttpClient introduced in Java 1.9 rather than stay with Apache |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hell-storm2004
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, Http Client 5 took a radically different approach from previous versions when it comes to asynchronous requests. They are now fully reactive. That pattern just did not jive with how Unirest does async. I took at least 3 different full attempts to make it fit but in the end chose to move towards the native Java HttpClient introduced in Java 1.9 rather than stay with Apache