| Package | Description |
|---|---|
| org.apache.hc.client5.http.impl | |
| org.apache.hc.client5.http.impl.sync |
Default HTTP client implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConnectionKeepAliveStrategy
Default implementation of a strategy deciding duration
that a connection can remain idle.
|
| Modifier and Type | Method and Description |
|---|---|
protected ClientExecChain |
HttpClientBuilder.createMainExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExec,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler)
Produces an instance of
ClientExecChain to be used as a main exec. |
HttpClientBuilder |
HttpClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
Assigns
ConnectionKeepAliveStrategy instance. |
| Constructor and Description |
|---|
MainClientExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
MainClientExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
MinimalClientExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy) |
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.