ever friend wrote:
Greeting,
In httpclient3.x, there are some APIs for HttpClient exception handling and method recovery, e.g.
client.getParams().setParameter(HttpMethodParams.RETRY_HANDLER,
new DefaultHttpMethodRetryHandler());
Does httpclient4.0 have some similar APIs for httpexception, and retry handler?
I did not find them in httpclient4.0.
Thank you for any help in advance!
Best Regards,
ever
See
http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/impl/client/AbstractHttpClient.html#setHttpRequestRetryHandler(org.apache.http.client.HttpRequestRetryHandler)
http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/client/HttpRequestRetryHandler.html
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]