OkHttp is a modern java HTTP client with sane defaults and built for resiliency. It supports HTTP/2, GZIP, caching, logging, following redirects and much more.