users@jersey.java.net

Re: [Jersey] A Jersey Client doing HTTP Cache

From: Imran M Yousuf <imyousuf_at_smartitengineering.com>
Date: Wed, 13 Oct 2010 10:38:43 +0600

On Tue, Oct 12, 2010 at 7:11 PM, Imran M Yousuf
<imyousuf_at_smartitengineering.com> wrote:
> On Tue, Oct 12, 2010 at 6:41 PM, Paul Sandoz <Paul.Sandoz_at_oracle.com> wrote:
>>>> <skip />
>>
>> Yes, we can do that. In fact in such cases the constructor could just be:
>>
>>  AbstractApacheHttpClientHandler(HttpClient client, ClientConfig config)
>>
>> Do you want to send me another patch :-)
>>
>
> I would be honored to send out another patch, will do it first thing
> to tomorrow morning :).
>

Hi Paul,

I went through the changes again and see that CacheableClientHandler
even can not extend a AbstractApacheHttpClientHandler as CCH depends
on HTTPCache4J resolver rather than HttpClient and creating CCH with
HttpClient means constructing CCH with our custom resolver for
HttpClient and nothing more, so I guess if the executor does not set
the configuration I will have live with having set it myself. So not
making further refactors to ApacheHttpClientHandler. Let me know what
you think.

Regards,

Imran

> Thank you,
>
> Imran
>
>> Paul.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>>
>
>
>
> --
> Imran M Yousuf
> Entrepreneur & CEO
> Smart IT Engineering Ltd.
> 25/5B, Block F, Haji Chinu Miah Road Bylane
> Joint Quarter, Mohammadpur
> Dhaka - 1207, Bangladesh
> Email: imran_at_smartitengineering.com
> Twitter: @imyousuf - http://twitter.com/imyousuf
> Blog: http://imyousuf-tech.blogs.smartitengineering.com/
> Mobile: +880-1711402557
>



-- 
Imran M Yousuf
Entrepreneur & CEO
Smart IT Engineering Ltd.
25/5B, Block F, Haji Chinu Miah Road Bylane
Joint Quarter, Mohammadpur
Dhaka - 1207, Bangladesh
Email: imran_at_smartitengineering.com
Twitter: @imyousuf - http://twitter.com/imyousuf
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557