Uses of Interface
org.apache.http.conn.ConnectionKeepAliveStrategy
Packages that use ConnectionKeepAliveStrategy
Package
Description
Default HTTP client implementation.
HTTP request execution chain APIs.
-
Uses of ConnectionKeepAliveStrategy in org.apache.http.impl.client
Classes in org.apache.http.impl.client that implement ConnectionKeepAliveStrategyModifier and TypeClassDescriptionclassDefault implementation of a strategy deciding duration that a connection can remain idle.Fields in org.apache.http.impl.client declared as ConnectionKeepAliveStrategyModifier and TypeFieldDescriptionprivate ConnectionKeepAliveStrategyAbstractHttpClient.keepAliveStrategyDeprecated.protected final ConnectionKeepAliveStrategyDefaultRequestDirector.keepAliveStrategyDeprecated.The keep-alive duration strategy.private ConnectionKeepAliveStrategyHttpClientBuilder.keepAliveStrategyMethods in org.apache.http.impl.client that return ConnectionKeepAliveStrategyModifier and TypeMethodDescriptionprotected ConnectionKeepAliveStrategyAbstractHttpClient.createConnectionKeepAliveStrategy()Deprecated.AbstractHttpClient.getConnectionKeepAliveStrategy()Deprecated.Methods in org.apache.http.impl.client with parameters of type ConnectionKeepAliveStrategyModifier and TypeMethodDescriptionprotected RequestDirectorAbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params) Deprecated.(4.1) do not useprotected RequestDirectorAbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params) Deprecated.(4.2) do not useprotected RequestDirectorAbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params) Deprecated.protected ClientExecChainHttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec, HttpClientConnectionManager connManager, org.apache.http.ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, org.apache.http.protocol.HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler) Produces an instance ofClientExecChainto be used as a main exec.voidAbstractHttpClient.setKeepAliveStrategy(ConnectionKeepAliveStrategy strategy) Deprecated.final HttpClientBuilderHttpClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy) AssignsConnectionKeepAliveStrategyinstance.Constructors in org.apache.http.impl.client with parameters of type ConnectionKeepAliveStrategyModifierConstructorDescriptionDefaultRequestDirector(org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params) Deprecated.DefaultRequestDirector(org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params) Deprecated.DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params) Deprecated. -
Uses of ConnectionKeepAliveStrategy in org.apache.http.impl.execchain
Fields in org.apache.http.impl.execchain declared as ConnectionKeepAliveStrategyModifier and TypeFieldDescriptionprivate final ConnectionKeepAliveStrategyMainClientExec.keepAliveStrategyprivate final ConnectionKeepAliveStrategyMinimalClientExec.keepAliveStrategyConstructors in org.apache.http.impl.execchain with parameters of type ConnectionKeepAliveStrategyModifierConstructorDescriptionMainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, org.apache.http.ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler) MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, org.apache.http.ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, org.apache.http.protocol.HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler) MinimalClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, org.apache.http.ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy)