Java code samples using HttpClient, OkHttp, and Apache HttpComponents. Complete examples with connection pooling and proxy authentication.