Example usage for org.apache.http.impl.nio.conn HttpNIOConnPoolFactory HttpNIOConnPoolFactory

List of usage examples for org.apache.http.impl.nio.conn HttpNIOConnPoolFactory HttpNIOConnPoolFactory

Introduction

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

Prototype

HttpNIOConnPoolFactory

Source Link

Usage

From source file:org.apache.http.impl.nio.conn.HttpNIOConnPool.java

HttpNIOConnPool(final Log log, final ConnectingIOReactor ioreactor, final AsyncSchemeRegistry schemeRegistry,
        final long connTimeToLive, final TimeUnit tunit) {
    super(ioreactor, new HttpNIOConnPoolFactory(), 2, 20);
    this.log = log;
    this.schemeRegistry = schemeRegistry;
    this.connTimeToLive = connTimeToLive;
    this.tunit = tunit;
}