hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: CachingHttpClientBuilder.decorateMainExec caches resourceFactory etc rather than directly accessing them
Date Mon, 24 Feb 2014 19:41:40 GMT
On 24 February 2014 17:55, Oleg Kalnichevski <oleg@ok2consulting.com> wrote:
> On February 24, 2014 6:15:26 PM CET, sebb <sebbaz@gmail.com> wrote:
>>Why does the method copy resourceFactory rather than using it directly?
>>
>>Seems unnecessary.
>
>
> This is done to ensure that the same builder could be used to create multiple objects
without polluting its internal state.

Doh! Sorry, I see that now.

> Oleg
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message