[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991526#comment-16991526
 ] 

ASF subversion and git services commented on HTTPCLIENT-2034:
-------------------------------------------------------------

Commit 7df52dc611c28fdd5520d256b13b8300e648c56d in httpcomponents-client's 
branch refs/heads/HTTPCLIENT-2034 from Michael Osipov
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=7df52dc ]

HTTPCLIENT-2034: Introduce HttpRequestRetryStrategy


> 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: 2h 50m
>  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]

Reply via email to