On Tue, 2020-02-25 at 17:24 -0800, Clément Guillaume wrote:
> Hello,
> 
> Is it possible to pass a custom AbstractConnPool to
> PoolingHttpClientConnectionManager?
> I would like to use something like the default CPool with some
> custom onLease, onRelease and onReuse.
> 
> Thank you,
> 
> Clement Guillaume


No, it is not. HttpClient 5.0 however provides ConnPoolListener with
#onLease and #onRelease event methods that might do what you want.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to