Skip to content

Most visited

Recently visited

navigation

ConnManagerPNames | Android Developers

to top
Android APIs
Added in 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

Added in 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

Added in 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

Added in 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"
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.