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 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
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasicNIOPoolEntry(String id, org.apache.http.HttpHost route, NHttpClientConnection conn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     

    Methods inherited from class org.apache.http.pool.PoolEntry

    getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidityDeadline, getValidUnit, isExpired, setState, toString, updateExpiry

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in class org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in class org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>