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

pack-priv Class HttpConnPool

extends AbstractConnPool<HttpRoute, OperatedClientConnection, HttpPoolEntry>
Class Inheritance
Annotations
@Deprecated
Imports
java.io.IOException, java.util.concurrent.TimeUnit, java.util.concurrent.atomic.AtomicLong, org.apache.commons.logging.Log, org.apache.http.conn.ClientConnectionOperator, .OperatedClientConnection, org.apache.http.conn.routing.HttpRoute, org.apache.http.pool.AbstractConnPool, .ConnFactory

Deprecated

(4.3) no longer used.

Since
4.2

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final AtomicLong
private final Log
private final long
private final TimeUnit

Constructor Summary

AccessConstructor and Description
public
HttpConnPool(final Log log, final ClientConnectionOperator connOperator, final int defaultMaxPerRoute, final int maxTotal, final long timeToLive, final TimeUnit timeUnit)

Deprecated as a consequence of ClientConnectionOperator being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected HttpPoolEntry
createEntry(final HttpRoute route, final OperatedClientConnection conn)

Implements abstract org.apache.http.pool.AbstractConnPool.createEntry.

Deprecated as a consequence of OperatedClientConnection and HttpPoolEntry being deprecated.
Creates a new entry for the given connection with the given route.
Inherited from org.apache.http.pool.AbstractConnPool:
closeExpiredcloseIdleenumAvailableenumLeasedgetDefaultMaxPerRoutegetMaxPerRoutegetMaxTotalgetRoutesgetStatsgetTotalStatsgetValidateAfterInactivityisShutdownleaseleaseonLeaseonReleaseonReusereleasesetDefaultMaxPerRoutesetMaxPerRoutesetMaxTotalsetValidateAfterInactivityshutdowntoStringvalidate

Field Detail

COUNTERback to summary
private static final AtomicLong COUNTER
logback to summary
private final Log log
timeToLiveback to summary
private final long timeToLive
timeUnitback to summary
private final TimeUnit timeUnit

Constructor Detail

HttpConnPoolback to summary
public HttpConnPool(final Log log, final ClientConnectionOperator connOperator, final int defaultMaxPerRoute, final int maxTotal, final long timeToLive, final TimeUnit timeUnit)

Deprecated

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

Method Detail

createEntryback to summary
protected HttpPoolEntry createEntry(final HttpRoute route, final OperatedClientConnection conn)

Implements abstract org.apache.http.pool.AbstractConnPool.createEntry.

Doc from org.apache.http.pool.AbstractConnPool.createEntry.

Deprecated

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

Creates a new entry for the given connection with the given route.

Annotations
@Override
org.apache.http.impl.conn back to summary

pack-priv Class HttpConnPool.InternalConnFactory

extends Object
implements ConnFactory<HttpRoute, OperatedClientConnection>
Class Inheritance
All Implemented Interfaces
org.apache.http.pool.ConnFactory

Field Summary

Modifier and TypeField and Description
private final ClientConnectionOperator
connOperator

Deprecated as a consequence of ClientConnectionOperator being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
InternalConnFactory(final ClientConnectionOperator connOperator)

Deprecated as a consequence of ClientConnectionOperator being deprecated.

Method Summary

Modifier and TypeMethod and Description
public OperatedClientConnection
create(final HttpRoute route)

Implements org.apache.http.pool.ConnFactory.create.

Deprecated as a consequence of OperatedClientConnection being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

connOperatorback to summary
private final ClientConnectionOperator connOperator

Deprecated

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

Constructor Detail

InternalConnFactoryback to summary
pack-priv InternalConnFactory(final ClientConnectionOperator connOperator)

Deprecated

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

Method Detail

createback to summary
public OperatedClientConnection create(final HttpRoute route) throws IOException

Implements org.apache.http.pool.ConnFactory.create.

Deprecated

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

Annotations
@Override