Package feign.codec

Class ErrorDecoder.RetryAfterDecoder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date apply​(java.lang.String retryAfter)
      returns a date that corresponds to the first time a request can be retried.
      protected long currentTimeMillis()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • currentTimeMillis

        protected long currentTimeMillis()
      • apply

        public java.util.Date apply​(java.lang.String retryAfter)
        returns a date that corresponds to the first time a request can be retried.
        Parameters:
        retryAfter - String in Retry-After format