Interface RetryStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean retryAllowed​(java.lang.String method, int statusCode, java.net.URI uri)
      Method says if retry is allowed for given parameter combination.
    • Method Detail

      • retryAllowed

        boolean retryAllowed​(java.lang.String method,
                             int statusCode,
                             java.net.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