hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vic Cekvenich <cekvenich....@gmail.com>
Subject Pooling constructor
Date Sun, 11 Oct 2015 22:43:50 GMT
Hi,
Looking at
https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html

it seems that
 new PoolingHttpClientConnectionManager(1,TimeUnit.MINUTE);
will close connection in that time (to refresh it)
and
setValidateAfterInactivity(1);
will check stale.

Is this correct?
Or are they both stale checks?

Vic

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message