public interface ApacheHttpClientConnectionManagerFactory
HttpClientConnectionManager
.Modifier and Type | Field and Description |
---|---|
static String |
HTTP_SCHEME |
static String |
HTTPS_SCHEME |
Modifier and Type | Method and 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 . |
static final String HTTP_SCHEME
static final String HTTPS_SCHEME
org.apache.http.conn.HttpClientConnectionManager newConnectionManager(boolean disableSslValidation, int maxTotalConnections, int maxConnectionsPerRoute, long timeToLive, TimeUnit timeUnit, org.apache.http.config.RegistryBuilder registryBuilder)
HttpClientConnectionManager
.disableSslValidation
- 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 managerHttpClientConnectionManager
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.