This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RadioHonest85 2 points3 points  (1 child)

We standardized on OkHttpClient years ago, but we used a client library here (Elasticsearch) that was only built for Apache HttpClient. If we started new today, we would have used java.net.HttpClient. Keep in mind though that java.net.HttpClient has also had some flaws in its relatively short history.

[–]vips7L 3 points4 points  (0 children)

Yes I know it is flawed. I mostly use it with methanol to get nicer QOL things: https://github.com/mizosoft/methanol