Interface ApacheHttpClientConnectionManagerFactory

All Known Implementing Classes:
DefaultApacheHttpClientConnectionManagerFactory

public interface ApacheHttpClientConnectionManagerFactory
Interface for creating an HttpClientConnectionManager.
Author:
Ryan Baxter
  • Field Summary

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

    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.
  • Field Details

  • Method Details

    • 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.