Class DefaultHttpMethodRetryHandler

    • Constructor Detail

      • DefaultHttpMethodRetryHandler

        public DefaultHttpMethodRetryHandler​(int retryCount,
                                             boolean requestSentRetryEnabled)
        Deprecated.
        Creates a new DefaultHttpMethodRetryHandler.
        Parameters:
        retryCount - the number of times a method will be retried
        requestSentRetryEnabled - if true, methods that have successfully sent their request will be retried
      • DefaultHttpMethodRetryHandler

        public DefaultHttpMethodRetryHandler()
        Deprecated.
        Creates a new DefaultHttpMethodRetryHandler that retries up to 3 times but does not retry methods that have successfully sent their requests.
    • Method Detail

      • isRequestSentRetryEnabled

        public boolean isRequestSentRetryEnabled()
        Deprecated.
        Returns:
        true if this handler will retry methods that have successfully sent their request, false otherwise
      • getRetryCount

        public int getRetryCount()
        Deprecated.
        Returns:
        the maximum number of times a method will be retried