public interface ApacheHttpClientBuilder
| 限定符和类型 | 方法和说明 | 
|---|---|
| org.apache.http.impl.client.CloseableHttpClient | build()构建httpclient实例. | 
| ApacheHttpClientBuilder | httpProxyHost(String httpProxyHost)代理服务器地址. | 
| ApacheHttpClientBuilder | httpProxyPassword(String httpProxyPassword)代理服务器密码. | 
| ApacheHttpClientBuilder | httpProxyPort(int httpProxyPort)代理服务器端口. | 
| ApacheHttpClientBuilder | httpProxyUsername(String httpProxyUsername)代理服务器用户名. | 
| ApacheHttpClientBuilder | httpRequestRetryHandler(org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler)重试策略. | 
| ApacheHttpClientBuilder | keepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy keepAliveStrategy)超时时间. | 
| ApacheHttpClientBuilder | sslConnectionSocketFactory(org.apache.http.conn.ssl.SSLConnectionSocketFactory sslConnectionSocketFactory)ssl连接socket工厂. | 
org.apache.http.impl.client.CloseableHttpClient build()
ApacheHttpClientBuilder httpProxyHost(String httpProxyHost)
ApacheHttpClientBuilder httpProxyPort(int httpProxyPort)
ApacheHttpClientBuilder httpProxyUsername(String httpProxyUsername)
ApacheHttpClientBuilder httpProxyPassword(String httpProxyPassword)
ApacheHttpClientBuilder httpRequestRetryHandler(org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler)
ApacheHttpClientBuilder keepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy keepAliveStrategy)
ApacheHttpClientBuilder sslConnectionSocketFactory(org.apache.http.conn.ssl.SSLConnectionSocketFactory sslConnectionSocketFactory)
Copyright © 2024. All rights reserved.