Package com.gooddata.sdk.service.retry
Interface RetryStrategy
- All Known Implementing Classes:
GetServerErrorRetryStrategy
public interface RetryStrategy
Interface for describing retry strategy.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanretryAllowed(String method, int statusCode, URI uri) Method says if retry is allowed for given parameter combination.
-
Method Details
-
retryAllowed
Method says if retry is allowed for given parameter combination.- Parameters:
method- HTTP methodstatusCode- HTTP response codeuri- requested URL- Returns:
trueit retry is allowed
-