类 TlsPool
java.lang.Object
org.apache.hc.client5.http.impl.classic.HttpClientBuilder
com.cdkjframework.util.network.https.TlsPool
- 所有已实现的接口:
org.springframework.boot.ApplicationRunner
@Component
@Order(10)
public class TlsPool
extends org.apache.hc.client5.http.impl.classic.HttpClientBuilder
implements org.springframework.boot.ApplicationRunner
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static org.apache.hc.client5.http.impl.classic.CloseableHttpClient
构造函数void
run
(org.springframework.boot.ApplicationArguments args) 初始化从类继承的方法 org.apache.hc.client5.http.impl.classic.HttpClientBuilder
addExecInterceptorAfter, addExecInterceptorBefore, addExecInterceptorFirst, addExecInterceptorLast, addRequestInterceptorFirst, addRequestInterceptorLast, addResponseInterceptorFirst, addResponseInterceptorLast, build, create, disableAuthCaching, disableAutomaticRetries, disableConnectionState, disableContentCompression, disableCookieManagement, disableDefaultUserAgent, disableRedirectHandling, evictExpiredConnections, evictIdleConnections, replaceExecInterceptor, setBackoffManager, setConnectionBackoffStrategy, setConnectionManager, setConnectionManagerShared, setConnectionReuseStrategy, setContentDecoderRegistry, setDefaultAuthSchemeRegistry, setDefaultCookieSpecRegistry, setDefaultCookieStore, setDefaultCredentialsProvider, setDefaultHeaders, setDefaultRequestConfig, setKeepAliveStrategy, setProxy, setProxyAuthenticationStrategy, setProxySelector, setRedirectStrategy, setRequestExecutor, setRetryStrategy, setRoutePlanner, setSchemePortResolver, setTargetAuthenticationStrategy, setUserAgent, setUserTokenHandler, useSystemProperties
-
构造器详细资料
-
TlsPool
public TlsPool()
-
-
方法详细资料
-
run
初始化- 指定者:
run
在接口中org.springframework.boot.ApplicationRunner
- 参数:
args
- 运行参数- 抛出:
Exception
- 异常信息
-
createSslContext
public static org.apache.hc.client5.http.impl.classic.CloseableHttpClient createSslContext()构造函数
-