org.apache.http.impl.nio.pool
Class BasicNIOPoolEntry

java.lang.Object
  extended by org.apache.http.pool.PoolEntry<HttpHost,NHttpClientConnection>
      extended by org.apache.http.impl.nio.pool.BasicNIOPoolEntry

@ThreadSafe
public class BasicNIOPoolEntry
extends PoolEntry<HttpHost,NHttpClientConnection>

Pool entry for BasicNIOConnPool.

Since:
4.2

Constructor Summary
BasicNIOPoolEntry(String id, HttpHost route, NHttpClientConnection conn)
           
 
Method Summary
 void close()
           
 boolean isClosed()
           
 
Methods inherited from class org.apache.http.pool.PoolEntry
getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidUnit, isExpired, setState, toString, updateExpiry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicNIOPoolEntry

public BasicNIOPoolEntry(String id,
                         HttpHost route,
                         NHttpClientConnection conn)
Method Detail

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-2011 The Apache Software Foundation. All Rights Reserved.