Uses of Class
org.apache.hc.client5.http.config.ConnectionConfig.Builder
Packages that use ConnectionConfig.Builder
-
Uses of ConnectionConfig.Builder in org.apache.hc.client5.http.config
Methods in org.apache.hc.client5.http.config that return ConnectionConfig.BuilderModifier and TypeMethodDescriptionstatic ConnectionConfig.BuilderConnectionConfig.copy(ConnectionConfig config) Creates a new builder forConnectionConfigbased on an existing instance.static ConnectionConfig.BuilderConnectionConfig.custom()Creates a new builder forConnectionConfig.ConnectionConfig.Builder.setConnectTimeout(long connectTimeout, TimeUnit timeUnit) Sets the timeout until a new connection is fully established.ConnectionConfig.Builder.setConnectTimeout(org.apache.hc.core5.util.Timeout connectTimeout) Sets the timeout until a new connection is fully established.ConnectionConfig.Builder.setIdleTimeout(long idleTimeout, TimeUnit timeUnit) Sets the maximum period of idleness for a connection.ConnectionConfig.Builder.setIdleTimeout(org.apache.hc.core5.util.Timeout idleTimeout) Determines the maximum period of idleness for a connection.ConnectionConfig.Builder.setSocketTimeout(int soTimeout, TimeUnit timeUnit) Sets the default socket timeout value for I/O operations on connections created by this configuration.ConnectionConfig.Builder.setSocketTimeout(org.apache.hc.core5.util.Timeout soTimeout) Sets the default socket timeout value for I/O operations on connections created by this configuration.ConnectionConfig.Builder.setTimeToLive(long timeToLive, TimeUnit timeUnit) Sets the total span of time connections can be kept alive or execute requests.ConnectionConfig.Builder.setTimeToLive(org.apache.hc.core5.util.TimeValue timeToLive) Defines the total span of time connections can be kept alive or execute requests.ConnectionConfig.Builder.setValidateAfterInactivity(long validateAfterInactivity, TimeUnit timeUnit) Sets the period of inactivity after which persistent connections must be re-validated prior to being leased to the consumer.ConnectionConfig.Builder.setValidateAfterInactivity(org.apache.hc.core5.util.TimeValue validateAfterInactivity) Sets the period of inactivity after which persistent connections must be re-validated prior to being leased to the consumer.