List of usage examples for org.apache.http.nio NHttpConnection getSocketTimeout
int getSocketTimeout();
From source file:org.jclouds.http.httpnio.pool.NioHttpCommandConnectionPool.java
public void connectionTimeout(NHttpConnection conn) { String message = String.format("Timeout on : %s - timeout %d", getTarget(), conn.getSocketTimeout()); logger.warn(message);//w w w . ja v a 2 s .co m resubmitIfRequestIsReplayable(conn, new TimeoutException(message)); }