Package feign

Class RetryableException

    • Constructor Detail

      • RetryableException

        public RetryableException​(java.lang.String message,
                                  Request.HttpMethod httpMethod,
                                  java.lang.Throwable cause,
                                  java.util.Date retryAfter)
        Parameters:
        retryAfter - usually corresponds to the Util.RETRY_AFTER header.
      • RetryableException

        public RetryableException​(java.lang.String message,
                                  Request.HttpMethod httpMethod,
                                  java.util.Date retryAfter)
        Parameters:
        retryAfter - usually corresponds to the Util.RETRY_AFTER header.
    • Method Detail

      • retryAfter

        public java.util.Date retryAfter()
        Sometimes corresponds to the Util.RETRY_AFTER header present in 503 status. Other times parsed from an application-specific response. Null if unknown.