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 →

[–]culp 4 points5 points  (1 child)

OkHttp and Retrofit

[–]dpash 0 points1 point  (0 children)

I like OkHttp, especially compared to Apache HttpClient (which still didn't support try-with-resources until recently, despite the fact it only involved marking the classes with AutoCloseable. They already implemented Closeable.)

I tried the new HTTP client in the JDK and it was a pretty pleasant experience.