Class DefaultApacheHttpClientConnectionManagerFactory

    • Constructor Detail

      • DefaultApacheHttpClientConnectionManagerFactory

        public DefaultApacheHttpClientConnectionManagerFactory()
    • Method Detail

      • newConnectionManager

        public org.apache.http.conn.HttpClientConnectionManager newConnectionManager​(boolean disableSslValidation,
                                                                                     int maxTotalConnections,
                                                                                     int maxConnectionsPerRoute)
      • newConnectionManager

        public org.apache.http.conn.HttpClientConnectionManager newConnectionManager​(boolean disableSslValidation,
                                                                                     int maxTotalConnections,
                                                                                     int maxConnectionsPerRoute,
                                                                                     long timeToLive,
                                                                                     TimeUnit timeUnit,
                                                                                     org.apache.http.config.RegistryBuilder registryBuilder)
        Description copied from interface: ApacheHttpClientConnectionManagerFactory
        Creates a new HttpClientConnectionManager.
        Specified by:
        newConnectionManager in interface ApacheHttpClientConnectionManagerFactory
        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.