Interface RetryHandler

    • Method Detail

      • shouldRetry

        boolean shouldRetry​(int responseCode)
        Specifies retry condition based on status code of response
        Parameters:
        responseCode - Response status code
        Returns:
        boolean condition for retry
      • getRetryAttempts

        int getRetryAttempts()
        Specifies Number of Retry Attempts allowed
        Returns:
        int: Number of retry attempts
      • getRetryDelayMillis

        int getRetryDelayMillis()
        Specifies Delay time in milliseconds before each retry
        Returns:
        int: Delay time in milliseconds