Uses of Interface
org.apache.hc.client5.http.ConnectionKeepAliveStrategy
Packages that use ConnectionKeepAliveStrategy
Package
Description
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
-
Uses of ConnectionKeepAliveStrategy in org.apache.hc.client5.http.impl
Classes in org.apache.hc.client5.http.impl that implement ConnectionKeepAliveStrategyModifier and TypeClassDescriptionclass
Default implementation of a strategy deciding duration that a connection can remain idle. -
Uses of ConnectionKeepAliveStrategy in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as ConnectionKeepAliveStrategyModifier and TypeFieldDescriptionprivate ConnectionKeepAliveStrategy
HttpAsyncClientBuilder.keepAliveStrategy
private final ConnectionKeepAliveStrategy
HttpAsyncMainClientExec.keepAliveStrategy
Methods in org.apache.hc.client5.http.impl.async with parameters of type ConnectionKeepAliveStrategyModifier and TypeMethodDescriptionfinal HttpAsyncClientBuilder
HttpAsyncClientBuilder.setKeepAliveStrategy
(ConnectionKeepAliveStrategy keepAliveStrategy) AssignsConnectionKeepAliveStrategy
instance.Constructors in org.apache.hc.client5.http.impl.async with parameters of type ConnectionKeepAliveStrategyModifierConstructorDescription(package private)
HttpAsyncMainClientExec
(org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor, ConnectionKeepAliveStrategy keepAliveStrategy, UserTokenHandler userTokenHandler) -
Uses of ConnectionKeepAliveStrategy in org.apache.hc.client5.http.impl.classic
Fields in org.apache.hc.client5.http.impl.classic declared as ConnectionKeepAliveStrategyModifier and TypeFieldDescriptionprivate ConnectionKeepAliveStrategy
HttpClientBuilder.keepAliveStrategy
private final ConnectionKeepAliveStrategy
MainClientExec.keepAliveStrategy
Methods in org.apache.hc.client5.http.impl.classic with parameters of type ConnectionKeepAliveStrategyModifier and TypeMethodDescriptionfinal HttpClientBuilder
HttpClientBuilder.setKeepAliveStrategy
(ConnectionKeepAliveStrategy keepAliveStrategy) AssignsConnectionKeepAliveStrategy
instance.Constructors in org.apache.hc.client5.http.impl.classic with parameters of type ConnectionKeepAliveStrategyModifierConstructorDescriptionMainClientExec
(HttpClientConnectionManager connectionManager, org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor, org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, UserTokenHandler userTokenHandler)