public class DefaultApacheHttpClientConnectionManagerFactory extends Object implements ApacheHttpClientConnectionManagerFactory
ApacheHttpClientConnectionManagerFactory.HTTP_SCHEME, HTTPS_SCHEME| Constructor and Description |
|---|
DefaultApacheHttpClientConnectionManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.conn.HttpClientConnectionManager |
newConnectionManager(boolean disableSslValidation,
int maxTotalConnections,
int maxConnectionsPerRoute) |
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. |
public DefaultApacheHttpClientConnectionManagerFactory()
public org.apache.http.conn.HttpClientConnectionManager newConnectionManager(boolean disableSslValidation,
int maxTotalConnections,
int maxConnectionsPerRoute)
public org.apache.http.conn.HttpClientConnectionManager newConnectionManager(boolean disableSslValidation,
int maxTotalConnections,
int maxConnectionsPerRoute,
long timeToLive,
TimeUnit timeUnit,
org.apache.http.config.RegistryBuilder registryBuilder)
ApacheHttpClientConnectionManagerFactoryHttpClientConnectionManager.newConnectionManager in interface ApacheHttpClientConnectionManagerFactorydisableSslValidation - True to disable SSL validation, false otherwisemaxTotalConnections - The total number of connectionsmaxConnectionsPerRoute - The total number of connections per routetimeToLive - The time a connection is allowed to existtimeUnit - The time unit for the time to live valueregistryBuilder - The RegistryBuilder to use in the connection managerHttpClientConnectionManagerCopyright © 2018 Pivotal Software, Inc.. All rights reserved.