org.apache.http.impl.nio.pool
Class BasicNIOPoolEntry
java.lang.Object
org.apache.http.pool.PoolEntry<HttpHost,NHttpClientConnection>
org.apache.http.impl.nio.pool.BasicNIOPoolEntry
@Contract(threading=SAFE)
public class BasicNIOPoolEntry
- extends PoolEntry<HttpHost,NHttpClientConnection>
A basic PoolEntry implementation that represents an entry
in a pool of non-blocking NHttpClientConnections identified by
an HttpHost instance.
- Since:
- 4.2
- See Also:
HttpHost
| Methods inherited from class org.apache.http.pool.PoolEntry |
getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidityDeadline, getValidUnit, isExpired, setState, toString, updateExpiry |
BasicNIOPoolEntry
public BasicNIOPoolEntry(String id,
HttpHost route,
NHttpClientConnection conn)
close
public void close()
- Specified by:
close in class PoolEntry<HttpHost,NHttpClientConnection>
isClosed
public boolean isClosed()
- Specified by:
isClosed in class PoolEntry<HttpHost,NHttpClientConnection>
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.