users@jersey.java.net

Re: [Jersey] A Jersey Client doing HTTP Cache

From: Imran M Yousuf <imyousuf_at_smartitengineering.com>
Date: Tue, 12 Oct 2010 17:33:16 +0600

On Tue, Oct 12, 2010 at 5:17 PM, Paul Sandoz <Paul.Sandoz_at_oracle.com> wrote:
>
> <skip />
>
> Can CacheableClientHandler can extend from ApacheHttpClientHandler and use
> the following constructor:
>
>    public ApacheHttpClientHandler(HttpClient client, ClientConfig config,
>            ApacheHttpMethodExecutor methodExecutor)
>

I gave it a serious thought, but this could be done but won't be right
in theoretically! One thing that could be done is we could extract an
abstract apache http client handler that does these settings in the
constructor, then the inheritance would be perfect.

Regards,

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