| 软件包 | 描述 |
|---|---|
| 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 | Field and Description |
|---|---|
protected ManagedClientConnection |
BasicEofSensorWatcher.managedConn
已过时。
连接到自动释放。
|
protected ManagedClientConnection |
BasicManagedEntity.managedConn
已过时。
要释放的连接。
|
| Modifier and Type | Method and Description |
|---|---|
ManagedClientConnection |
ClientConnectionRequest.getConnection(long timeout, TimeUnit tunit)
已过时。
在给定时间内获取连接。
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientConnectionManager.releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit)
已过时。
释放其他人使用的连接。
|
| Constructor and Description |
|---|
BasicEofSensorWatcher(ManagedClientConnection conn, boolean reuse)
已过时。
创建一个新的观察者来自动释放连接。
|
BasicManagedEntity(HttpEntity entity, ManagedClientConnection conn, boolean reuse)
已过时。
创建一个可以释放连接的新管理实体。
|
| Modifier and Type | Field and Description |
|---|---|
protected ManagedClientConnection |
DefaultRequestDirector.managedConn
已过时。
当前分配的连接。
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractClientConnAdapter
已过时。
(4.2)不要使用
|
class |
AbstractPooledConnAdapter
已过时。
(4.2)不要使用
|
protected class |
SingleClientConnManager.ConnAdapter
已过时。
该经理使用的连接适配器。
|
| Modifier and Type | Method and Description |
|---|---|
ManagedClientConnection |
SingleClientConnManager.getConnection(HttpRoute route, Object state)
已过时。
获取连接。
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicClientConnectionManager.releaseConnection(ManagedClientConnection conn, long keepalive, TimeUnit tunit)
已过时。
|
void |
SingleClientConnManager.releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit)
已过时。
|
void |
PoolingClientConnectionManager.releaseConnection(ManagedClientConnection conn, long keepalive, TimeUnit tunit)
已过时。
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicPooledConnAdapter
已过时。
(4.2)不要使用
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadSafeClientConnManager.releaseConnection(ManagedClientConnection conn, long validDuration, TimeUnit timeUnit)
已过时。
|
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.