public interface ApacheHttpClientConnectionManagerFactory
HttpClientConnectionManager
.Modifier and Type | Field and Description |
---|---|
static String |
HTTP_SCHEME
Scheme for HTTP based communication.
|
static String |
HTTPS_SCHEME
Scheme for HTTPS based communication.
|
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
- 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.HttpClientConnectionManager
.Copyright © 2022 Pivotal Software, Inc.. All rights reserved.