Example usage for org.apache.http.impl.nio.conn CPoolEntry getSocketTimeout

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

Introduction

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

Prototype

public int getSocketTimeout() 

Source Link

Usage

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

@Override
protected void onLease(final CPoolEntry entry) {
    final NHttpClientConnection conn = entry.getConnection();
    conn.setSocketTimeout(entry.getSocketTimeout());
}