to top
Android APIs
Since: API Level 1
public interface

ConnManagerPNames

org.apache.http.conn.params.ConnManagerPNames
Known Indirect Subclasses

Class Overview

Parameter names for connection managers in HttpConn.

Summary

Constants
String MAX_CONNECTIONS_PER_ROUTE Defines the maximum number of connections per route.
String MAX_TOTAL_CONNECTIONS Defines the maximum number of connections in total.
String TIMEOUT Defines the timeout in milliseconds used when retrieving an instance of ManagedClientConnection from the ClientConnectionManager.

Constants

public static final String MAX_CONNECTIONS_PER_ROUTE

Since: API Level 1

Defines the maximum number of connections per route. This limit is interpreted by client connection managers and applies to individual manager instances.

This parameter expects a value of type ConnPerRoute.

Constant Value: "http.conn-manager.max-per-route"

public static final String MAX_TOTAL_CONNECTIONS

Since: API Level 1

Defines the maximum number of connections in total. This limit is interpreted by client connection managers and applies to individual manager instances.

This parameter expects a value of type Integer.

Constant Value: "http.conn-manager.max-total"

public static final String TIMEOUT

Since: API Level 1

Defines the timeout in milliseconds used when retrieving an instance of ManagedClientConnection from the ClientConnectionManager.

This parameter expects a value of type Long.

Constant Value: "http.conn-manager.timeout"