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 Jawahar Nayak <jl...@gmail.com> on 2008/07/16 07:02:00 UTC
About retry handler...
Hi,
I am using HttpClient3.0. To set retry handler I am using
clientParams.setParameter(HttpMethodParams.RETRY_HANDLER, "3");
I want to know, if I got an 404 response then does Httpclient retry
automatically for a particular url.
Thanks
Re: About retry handler...
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2008-07-16 at 10:32 +0530, Jawahar Nayak wrote:
> Hi,
>
> I am using HttpClient3.0. To set retry handler I am using
> clientParams.setParameter(HttpMethodParams.RETRY_HANDLER, "3");
This is wrong. See
http://hc.apache.org/httpclient-3.x/exception-handling.html#Custom_exception_handler
> I want to know, if I got an 404 response then does Httpclient retry
> automatically for a particular url.
>
This makes no sense of what so ever. What's the point of retrying a
request for a non-existing resource?
Oleg
> Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org