Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0 Beta6
-
None
Description
A new interface:
interface HttpRequestRetryStrategy { boolean retryRequest(HttpRequest request, IOException exception, int executionCount, HttpContext context); boolean retryRequest(HttpResponse response, int executionCount, HttpContext context); TimeValue getRetryInterval(HttpResponse response, int executionCount, HttpContext context); }
along with an new default implementation will supersede ServiceUnavailableRetryStrategy as well as HttpRequestRetryHandler.
Attachments
Issue Links
- is depended upon by
-
HTTPCLIENT-2019 Remove ServiceUnavailableRetryStrategy in favor of HttpRequestRetryStrategy
- Closed
-
HTTPCLIENT-2035 Remove HttpRequestRetryHandler in favor of HttpRequestRetryStrategy
- Closed
- links to