Interface ApacheHttpClientConnectionManagerFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String HTTP_SCHEME
      Scheme for HTTP based communication.
      static String HTTPS_SCHEME
      Scheme for HTTPS based communication.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.http.conn.HttpClientConnectionManager newConnectionManager​(boolean disableSslValidation, int maxTotalConnections, int maxConnectionsPerRoute, long timeToLive, TimeUnit timeUnit, org.apache.http.config.RegistryBuilder registryBuilder)
      Creates a new HttpClientConnectionManager.
    • Method Detail

      • newConnectionManager

        org.apache.http.conn.HttpClientConnectionManager newConnectionManager​(boolean disableSslValidation,
                                                                              int maxTotalConnections,
                                                                              int maxConnectionsPerRoute,
                                                                              long timeToLive,
                                                                              TimeUnit timeUnit,
                                                                              org.apache.http.config.RegistryBuilder registryBuilder)
        Creates a new HttpClientConnectionManager.
        Parameters:
        disableSslValidation - If true, SSL validation will be disabled.
        maxTotalConnections - The total number of connections.
        maxConnectionsPerRoute - The total number of connections per route.
        timeToLive - The time a connection is allowed to exist.
        timeUnit - The time unit for the time-to-live value.
        registryBuilder - The RegistryBuilder to use in the connection manager.
        Returns:
        A new HttpClientConnectionManager.