Package org.apache.http.impl.nio.pool
Class BasicNIOPoolEntry
- java.lang.Object
-
- org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>
-
- org.apache.http.impl.nio.pool.BasicNIOPoolEntry
-
@Contract(threading=SAFE) public class BasicNIOPoolEntry extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>
A basicPoolEntry
implementation that represents an entry in a pool of non-blockingNHttpClientConnection
s identified by anHttpHost
instance.- Since:
- 4.2
- See Also:
HttpHost
-
-
Constructor Summary
Constructors Constructor Description BasicNIOPoolEntry(java.lang.String id, org.apache.http.HttpHost route, NHttpClientConnection conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
isClosed()
-
-
-
Constructor Detail
-
BasicNIOPoolEntry
public BasicNIOPoolEntry(java.lang.String id, org.apache.http.HttpHost route, NHttpClientConnection conn)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in classorg.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>
-
isClosed
public boolean isClosed()
- Specified by:
isClosed
in classorg.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>
-
-