Package org.apache.http.conn
Interface HttpClientConnectionOperator
-
- All Known Implementing Classes:
DefaultHttpClientConnectionOperator
public interface HttpClientConnectionOperator
Connection operator that performs connection connect and upgrade operations. Usually, components participating in these operations are registry ofConnectionSocketFactory
,SchemePortResolver
andDnsResolver
. 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.- Since:
- 4.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connect(ManagedHttpClientConnection conn, HttpHost host, java.net.InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context)
void
upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context)
-
-
-
Method Detail
-
connect
void connect(ManagedHttpClientConnection conn, HttpHost host, java.net.InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context) throws java.io.IOException
- Throws:
java.io.IOException
-
upgrade
void upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) throws java.io.IOException
- Throws:
java.io.IOException
-
-