Example usage for org.apache.http.conn.params ConnManagerParams getMaxTotalConnections

List of usage examples for org.apache.http.conn.params ConnManagerParams getMaxTotalConnections

Introduction

In this page you can find the example usage for org.apache.http.conn.params ConnManagerParams getMaxTotalConnections.

Prototype

public static int getMaxTotalConnections(final HttpParams params) 

Source Link

Document

Gets the maximum number of connections allowed.

Usage

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

/**
 * Creates a new connection pool, managed by route.
 *
 * @deprecated (4.1)  use {@link ConnPoolByRoute#ConnPoolByRoute(ClientConnectionOperator, ConnPerRoute, int)}
 *///www  .  java 2  s . c om
@Deprecated
public ConnPoolByRoute(final ClientConnectionOperator operator, final HttpParams params) {
    this(operator, ConnManagerParams.getMaxConnectionsPerRoute(params),
            ConnManagerParams.getMaxTotalConnections(params));
}