public static class HttpTool.HttpClientBuilder
extends java.lang.Object
Constructor and Description |
---|
HttpClientBuilder() |
public static HttpTool.HttpClientBuilder fromBuilder(HttpTool.HttpClientBuilder other)
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 HttpTool.HttpClientBuilder credential(<any> 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 HttpTool.HttpClientBuilder trustAll(boolean val)
public HttpTool.HttpClientBuilder trustSelfSigned(boolean val)
public org.apache.http.client.HttpClient build()