Class HttpNIOConnPool

java.lang.Object
org.apache.http.nio.pool.AbstractNIOConnPool<org.apache.http.conn.routing.HttpRoute,org.apache.http.nio.reactor.IOSession,HttpPoolEntry>
org.apache.http.impl.nio.conn.HttpNIOConnPool
All Implemented Interfaces:
org.apache.http.pool.ConnPool<org.apache.http.conn.routing.HttpRoute,HttpPoolEntry>, org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>

@Deprecated class HttpNIOConnPool extends org.apache.http.nio.pool.AbstractNIOConnPool<org.apache.http.conn.routing.HttpRoute,org.apache.http.nio.reactor.IOSession,HttpPoolEntry>
Deprecated.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final long
    Deprecated.
     
    private static final AtomicLong
    Deprecated.
     
    private final org.apache.commons.logging.Log
    Deprecated.
     
    private final AsyncSchemeRegistry
    Deprecated.
     
    private final TimeUnit
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpNIOConnPool(org.apache.commons.logging.Log log, org.apache.http.nio.reactor.ConnectingIOReactor ioreactor, AsyncSchemeRegistry schemeRegistry, long connTimeToLive, TimeUnit tunit)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected HttpPoolEntry
    createEntry(org.apache.http.conn.routing.HttpRoute route, org.apache.http.nio.reactor.IOSession session)
    Deprecated.
     
    protected SocketAddress
    resolveLocalAddress(org.apache.http.conn.routing.HttpRoute route)
    Deprecated.
     
    protected SocketAddress
    resolveRemoteAddress(org.apache.http.conn.routing.HttpRoute route)
    Deprecated.
     

    Methods inherited from class org.apache.http.nio.pool.AbstractNIOConnPool

    closeExpired, closeIdle, enumAvailable, enumEntries, enumLeased, getDefaultMaxPerRoute, getMaxPerRoute, getMaxTotal, getRoutes, getStats, getTotalStats, isShutdown, lease, lease, lease, lease, onLease, onRelease, onReuse, release, requestCancelled, requestCompleted, requestFailed, requestTimeout, setDefaultMaxPerRoute, setMaxPerRoute, setMaxTotal, shutdown, toString, validatePendingRequests

    Methods inherited from class java.lang.Object

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

    • COUNTER

      private static final AtomicLong COUNTER
      Deprecated.
    • log

      private final org.apache.commons.logging.Log log
      Deprecated.
    • schemeRegistry

      private final AsyncSchemeRegistry schemeRegistry
      Deprecated.
    • connTimeToLive

      private final long connTimeToLive
      Deprecated.
    • tunit

      private final TimeUnit tunit
      Deprecated.
  • Constructor Details

    • HttpNIOConnPool

      HttpNIOConnPool(org.apache.commons.logging.Log log, org.apache.http.nio.reactor.ConnectingIOReactor ioreactor, AsyncSchemeRegistry schemeRegistry, long connTimeToLive, TimeUnit tunit)
      Deprecated.
  • Method Details

    • resolveLocalAddress

      protected SocketAddress resolveLocalAddress(org.apache.http.conn.routing.HttpRoute route)
      Deprecated.
      Overrides:
      resolveLocalAddress in class org.apache.http.nio.pool.AbstractNIOConnPool<org.apache.http.conn.routing.HttpRoute,org.apache.http.nio.reactor.IOSession,HttpPoolEntry>
    • resolveRemoteAddress

      protected SocketAddress resolveRemoteAddress(org.apache.http.conn.routing.HttpRoute route)
      Deprecated.
      Overrides:
      resolveRemoteAddress in class org.apache.http.nio.pool.AbstractNIOConnPool<org.apache.http.conn.routing.HttpRoute,org.apache.http.nio.reactor.IOSession,HttpPoolEntry>
    • createEntry

      protected HttpPoolEntry createEntry(org.apache.http.conn.routing.HttpRoute route, org.apache.http.nio.reactor.IOSession session)
      Deprecated.
      Specified by:
      createEntry in class org.apache.http.nio.pool.AbstractNIOConnPool<org.apache.http.conn.routing.HttpRoute,org.apache.http.nio.reactor.IOSession,HttpPoolEntry>