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

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

Introduction

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

Prototype

HttpPoolEntry(final Log log, final String id, final HttpRoute route, final IOSession session,
            final long timeToLive, final TimeUnit tunit) 

Source Link

Usage

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

@Override
protected HttpPoolEntry createEntry(final HttpRoute route, final IOSession session) {
    final String id = Long.toString(COUNTER.getAndIncrement());
    return new HttpPoolEntry(this.log, id, route, session, this.connTimeToLive, this.tunit);
}