[prev in list] [next in list] [prev in thread] [next in thread]
List: httpclient-users
Subject: Re: use a custom AbstractConnPool
From: Oleg Kalnichevski <olegk () apache ! org>
Date: 2020-02-26 9:21:35
Message-ID: ca41aaa724fa971e5a5a23c70e30a6fdf2d71ae5.camel () apache ! org
[Download RAW message or body]
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-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic