[
https://issues.apache.org/jira/browse/HTTPCLIENT-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed HTTPCLIENT-2034.
--------------------------------------
Resolution: Fixed
> Introduce HttpRequestRetryStrategy
> ----------------------------------
>
> Key: HTTPCLIENT-2034
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2034
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: HttpClient (classic)
> Affects Versions: 5.0 Beta6
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 5.0 Beta7
>
> Time Spent: 6h 20m
> Remaining Estimate: 0h
>
> A new interface:
> {code:java}
> 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);
> }
> {code}
> along with an new default implementation will supersede
> {{ServiceUnavailableRetryStrategy}} as well as {{HttpRequestRetryHandler}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]