You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Kalpa 1977 <ka...@gmail.com> on 2011/05/03 19:51:39 UTC

Custom Cookie help

HI all,
       Is this possible to write a customised cookie validator for
httpclient 3.x.
I see that in HttpComponents, but not in HttpClient,
Could you please let me know If I am missing anything,
Since I am restricted to use http client itself for now.

thanks,
Kalpa.

Re: Custom Cookie help

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2011-05-03 at 23:21 +0530, Kalpa 1977 wrote:
> HI all,
>        Is this possible to write a customised cookie validator for
> httpclient 3.x.

Kalpa,

You can change the way HttpClient 3.x validates cookies by implementing
a custom CookieSpec interface or overriding validate method of an
existing CookieSpec implementation.

Hope this helps

Oleg

> I see that in HttpComponents, but not in HttpClient,
> Could you please let me know If I am missing anything,
> Since I am restricted to use http client itself for now.
> 
> thanks,
> Kalpa.



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