@ThreadSafe public class BasicPoolEntry extends PoolEntry<org.apache.http.HttpHost,org.apache.http.HttpClientConnection>
PoolEntry implementation that represents an entry
in a pool of blocking HttpClientConnections identified by
an HttpHost instance.HttpHost| Constructor and Description |
|---|
BasicPoolEntry(java.lang.String id,
org.apache.http.HttpHost route,
org.apache.http.HttpClientConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Invalidates the pool entry and closes the pooled connection associated
with it.
|
boolean |
isClosed()
Returns
true if the pool entry has been invalidated. |
getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidUnit, isExpired, setState, toString, updateExpirypublic BasicPoolEntry(java.lang.String id,
org.apache.http.HttpHost route,
org.apache.http.HttpClientConnection conn)
public void close()
PoolEntryCopyright © 1999-2015 The Apache Software Foundation. All rights reserved.