public interface HttpClientConnectionOperator
ConnectionSocketFactory,
SchemePortResolver and DnsResolver.
In general, HTTP client user should not provide implementations of this interface, as HttpClient will use the
default one that covers most of the cases needed for majority of users.| Modifier and Type | Method and Description |
|---|---|
void |
connect(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost host,
InetSocketAddress localAddress,
int connectTimeout,
org.apache.hc.core5.http.config.SocketConfig socketConfig,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
upgrade(ManagedHttpClientConnection conn,
org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.protocol.HttpContext context) |
void connect(ManagedHttpClientConnection conn, org.apache.hc.core5.http.HttpHost host, InetSocketAddress localAddress, int connectTimeout, org.apache.hc.core5.http.config.SocketConfig socketConfig, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException
IOExceptionvoid upgrade(ManagedHttpClientConnection conn, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException
IOExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.