Top Fields Constructors Methods
org.apache.http.impl.conn

pack-priv Class HttpPoolEntry

extends PoolEntry<HttpRoute, OperatedClientConnection>
Class Inheritance
Annotations
@Deprecated
Imports
java.io.IOException, java.util.Date, java.util.concurrent.TimeUnit, org.apache.commons.logging.Log, org.apache.http.conn.OperatedClientConnection, org.apache.http.conn.routing.HttpRoute, .RouteTracker, org.apache.http.pool.PoolEntry

Deprecated

(4.3) no longer used.

Since
4.2

Field Summary

Modifier and TypeField and Description
private final Log
private final RouteTracker

Constructor Summary

AccessConstructor and Description
public
HttpPoolEntry(final Log log, final String id, final HttpRoute route, final OperatedClientConnection conn, final long timeToLive, final TimeUnit timeUnit)

Deprecated as a consequence of OperatedClientConnection being deprecated.

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements abstract org.apache.http.pool.PoolEntry.close.

Invalidates the pool entry and closes the pooled connection associated with it.
pack-priv HttpRoute
pack-priv HttpRoute
pack-priv RouteTracker
public boolean
isClosed()

Implements abstract org.apache.http.pool.PoolEntry.isClosed.

Returns true if the pool entry has been invalidated.
public boolean
Inherited from org.apache.http.pool.PoolEntry:
getConnectiongetCreatedgetExpirygetIdgetRoutegetStategetUpdatedgetValidityDeadlinegetValidUnitsetStatetoStringupdateExpiry

Field Detail

logback to summary
private final Log log
trackerback to summary
private final RouteTracker tracker

Constructor Detail

HttpPoolEntryback to summary
public HttpPoolEntry(final Log log, final String id, final HttpRoute route, final OperatedClientConnection conn, final long timeToLive, final TimeUnit timeUnit)

Deprecated

as a consequence of OperatedClientConnection being deprecated. See corresponding docs for further information.

Method Detail

closeback to summary
public void close()

Implements abstract org.apache.http.pool.PoolEntry.close.

Doc from org.apache.http.pool.PoolEntry.close.

Invalidates the pool entry and closes the pooled connection associated with it.

Annotations
@Override
getEffectiveRouteback to summary
pack-priv HttpRoute getEffectiveRoute()
getPlannedRouteback to summary
pack-priv HttpRoute getPlannedRoute()
getTrackerback to summary
pack-priv RouteTracker getTracker()
isClosedback to summary
public boolean isClosed()

Implements abstract org.apache.http.pool.PoolEntry.isClosed.

Doc from org.apache.http.pool.PoolEntry.isClosed.

Returns true if the pool entry has been invalidated.

Annotations
@Override
isExpiredback to summary
public boolean isExpired(final long now)

Overrides org.apache.http.pool.PoolEntry.isExpired.

Annotations
@Override