Example usage for org.apache.http.impl.conn BasicHttpClientConnectionManager setConnectionConfig

List of usage examples for org.apache.http.impl.conn BasicHttpClientConnectionManager setConnectionConfig

Introduction

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

Prototype

public synchronized void setConnectionConfig(final ConnectionConfig connConfig) 

Source Link

Usage

From source file:org.iipg.hurricane.jmx.client.JMXClientBuilder.java

private BasicHttpClientConnectionManager createBasicConnectionManager() {
    BasicHttpClientConnectionManager connManager = new BasicHttpClientConnectionManager(
            getSocketFactoryRegistry(), getConnectionFactory());
    connManager.setSocketConfig(createSocketConfig());
    connManager.setConnectionConfig(createConnectionConfig());
    return connManager;
}