类 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

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • TlsPool

      public TlsPool()
  • 方法详细资料

    • run

      public void run(org.springframework.boot.ApplicationArguments args) throws Exception
      初始化
      指定者:
      run 在接口中 org.springframework.boot.ApplicationRunner
      参数:
      args - 运行参数
      抛出:
      Exception - 异常信息
    • createSslContext

      public static org.apache.hc.client5.http.impl.classic.CloseableHttpClient createSslContext()
      构造函数