| Package | Description | 
|---|---|
| org.apache.hc.client5.http.config | HTTP client configuration APIs. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ConnectionConfig.Builder | ConnectionConfig. copy(ConnectionConfig config) | 
| static ConnectionConfig.Builder | ConnectionConfig. custom() | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setConnectTimeout(long connectTimeout,
                 TimeUnit timeUnit) | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setConnectTimeout(Timeout connectTimeout)Determines the timeout until a new connection is fully established. | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setSocketTimeout(int soTimeout,
                TimeUnit timeUnit) | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setSocketTimeout(Timeout soTimeout)Determines the default socket timeout value for I/O operations. | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setTimeToLive(long timeToLive,
             TimeUnit timeUnit) | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setTimeToLive(TimeValue timeToLive)Defines the total span of time connections can be kept alive or execute requests. | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setValidateAfterInactivity(long validateAfterInactivity,
                          TimeUnit timeUnit) | 
| ConnectionConfig.Builder | ConnectionConfig.Builder. setValidateAfterInactivity(TimeValue validateAfterInactivity)Defines period of inactivity after which persistent connections must
 be re-validated prior to being leased to the consumer. | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.