if (LOG.isLoggable(Level.FINE)) {
LOG.fine("try to get a connection from pool (waitForConnect = true)");
}
INonBlockingConnection con = pool.getNonBlockingConnection(InetAddress.getByName(host), normalizePort(port, isSSL), true, connectTimeoutMillis, isSSL);
HttpClientConnection httpCon = newHttpClientConnection(con);
setHttpConnection(httpCon);
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("[" + con.getId() + "] sending request to remote endpoint");
}
if (contentLength == null) {
return httpCon.send(requestHeader, responseHandler);
} else {