public interface HttpClientConnectionOperator
ConnectionSocketFactory , SchemePortResolver和DnsResolver 。
一般来说,HTTP客户端用户不应该提供该接口的实现,因为HttpClient将使用默认的覆盖大多数用户所需的大多数情况。
| Modifier and Type | Method and Description |
|---|---|
void |
connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context) |
void |
upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) |
void connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context) throws IOException
IOException
void upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) throws IOException
IOException
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.