public static class HttpTool.HttpClientBuilder
extends java.lang.Object
Constructor and Description |
---|
HttpTool.HttpClientBuilder() |
public HttpTool.HttpClientBuilder clientConnectionManager(org.apache.http.conn.ClientConnectionManager val)
public HttpTool.HttpClientBuilder httpParams(org.apache.http.params.HttpParams val)
public HttpTool.HttpClientBuilder connectionTimeout(Duration val)
public HttpTool.HttpClientBuilder socketTimeout(Duration val)
public HttpTool.HttpClientBuilder reuseStrategy(org.apache.http.ConnectionReuseStrategy val)
public HttpTool.HttpClientBuilder uri(java.lang.String val)
public HttpTool.HttpClientBuilder uri(java.net.URI val)
public HttpTool.HttpClientBuilder port(int val)
public HttpTool.HttpClientBuilder credentials(org.apache.http.auth.Credentials val)
public void credential(com.google.common.base.Optional<org.apache.http.auth.Credentials> val)
public HttpTool.HttpClientBuilder laxRedirect(boolean val)
public HttpTool.HttpClientBuilder https(boolean val)
public HttpTool.HttpClientBuilder socketFactory(org.apache.http.conn.scheme.SchemeSocketFactory val)
public HttpTool.HttpClientBuilder trustAll()
public HttpTool.HttpClientBuilder trustSelfSigned()
public org.apache.http.client.HttpClient build()