You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2019/12/10 07:53:00 UTC
[jira] [Closed] (HTTPCLIENT-2034) Introduce
HttpRequestRetryStrategy
[ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org