Top Description Methods
org.apache.http.conn

public Interface HttpClientConnectionOperator

Known Direct Implementers
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator
Imports
java.io.IOException, java.net.InetSocketAddress, org.apache.http.HttpHost, org.apache.http.config.SocketConfig, org.apache.http.protocol.HttpContext

Connection operator that performs connection connect and upgrade operations. Usually, components participating in these operations are registry of org.apache.http.conn.socket.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.
Since
4.4

Method Summary

Modifier and TypeMethod and Description
public void
connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context)

public void

Method Detail

connectback to summary
public void connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context) throws IOException
upgradeback to summary
public void upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) throws IOException