Example usage for org.apache.http.impl.conn.tsccm ConnPoolByRoute ConnPoolByRoute

List of usage examples for org.apache.http.impl.conn.tsccm ConnPoolByRoute ConnPoolByRoute

Introduction

In this page you can find the example usage for org.apache.http.impl.conn.tsccm ConnPoolByRoute ConnPoolByRoute.

Prototype

@Deprecated
public ConnPoolByRoute(final ClientConnectionOperator operator, final HttpParams params) 

Source Link

Document

Creates a new connection pool, managed by route.

Usage

From source file:org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.java

/**
 * Hook for creating the connection pool.
 *
 * @return  the connection pool to use/*ww w  .j  a v  a2  s  .  c  o m*/
 *
 * @deprecated (4.1)  use #createConnectionPool(long, TimeUnit))
 */
@Deprecated
protected AbstractConnPool createConnectionPool(final HttpParams params) {
    return new ConnPoolByRoute(connOperator, params);
}