| 软件包 | 描述 |
|---|---|
| org.apache.http.conn |
客户端连接管理API。
|
| org.apache.http.impl.client |
默认HTTP客户端实现。
|
| org.apache.http.impl.conn |
客户端连接管理功能的默认实现。
|
| org.apache.http.impl.conn.tsccm |
已过时。
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ManagedClientConnection
已过时。
(4.3)由
HttpClientConnectionManager取代。
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpClientConnectionOperator.connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context) |
void |
HttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) |
| Constructor and Description |
|---|
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, ConnectionConfig connectionConfig, RequestConfig requestConfig) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractClientConnAdapter
已过时。
(4.2)不要使用
|
class |
AbstractPooledConnAdapter
已过时。
(4.2)不要使用
|
class |
DefaultClientConnection
已过时。
(4.3)使用
ManagedHttpClientConnectionFactory 。
|
class |
DefaultManagedHttpClientConnection
|
protected class |
SingleClientConnManager.ConnAdapter
已过时。
该经理使用的连接适配器。
|
| Modifier and Type | Method and Description |
|---|---|
ManagedHttpClientConnection |
ManagedHttpClientConnectionFactory.create(HttpRoute route, ConnectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultHttpClientConnectionOperator.connect(ManagedHttpClientConnection conn, HttpHost host, InetSocketAddress localAddress, int connectTimeout, SocketConfig socketConfig, HttpContext context) |
void |
DefaultHttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn, HttpHost host, HttpContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PoolingHttpClientConnectionManager.enumAvailable(PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
protected void |
PoolingHttpClientConnectionManager.enumLeased(PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicPooledConnAdapter
已过时。
(4.2)不要使用
|
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.