Example usage for org.apache.http.nio.conn ManagedNHttpClientConnection getSocketTimeout

List of usage examples for org.apache.http.nio.conn ManagedNHttpClientConnection getSocketTimeout

Introduction

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

Prototype

int getSocketTimeout();

Source Link

Usage

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

@Override
protected CPoolEntry createEntry(final HttpRoute route, final ManagedNHttpClientConnection conn) {
    final CPoolEntry entry = new CPoolEntry(this.log, conn.getId(), route, conn, this.timeToLive, this.tunit);
    entry.setSocketTimeout(conn.getSocketTimeout());
    return entry;
}