Interface HttpMethodRetryHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean retryMethod​(HttpMethod method, java.io.IOException exception, int executionCount)
      Determines if a method should be retried after an HttpRecoverableException occurs during execution.
    • Method Detail

      • retryMethod

        boolean retryMethod​(HttpMethod method,
                            java.io.IOException exception,
                            int executionCount)
        Determines if a method should be retried after an HttpRecoverableException occurs during execution.
        Parameters:
        method - the method being executed
        exception - the exception that occurred
        executionCount - the number of times this method has been unsuccessfully executed
        Returns:
        true if the method should be retried, false otherwise