Ejemplo n.º 1
0
 /** See HttpClient for the model for this method. */
 static HttpClient New(SSLSocketFactory sf, URL url, HostnameVerifier hv, boolean useCache)
     throws IOException {
   return HttpsClient.New(sf, url, hv, (String) null, -1, useCache);
 }
Ejemplo n.º 2
0
 /** Get a HTTPS client to the URL. Traffic will be tunneled through the specified proxy server. */
 static HttpClient New(
     SSLSocketFactory sf, URL url, HostnameVerifier hv, String proxy, int proxyPort)
     throws IOException {
   return HttpsClient.New(sf, url, hv, proxy, proxyPort, true);
 }
Ejemplo n.º 3
0
 static HttpClient New(SSLSocketFactory sf, URL url, HostnameVerifier hv) throws IOException {
   return HttpsClient.New(sf, url, hv, true);
 }