Interface RetryStrategy

    • Method Detail

      • retryAllowed

        boolean retryAllowed​(String method,
                             int statusCode,
                             URI uri)
        Method says if retry is allowed for given parameter combination.
        Parameters:
        method - HTTP method
        statusCode - HTTP response code
        uri - requested URL
        Returns:
        true it retry is allowed