public static class ErrorDecoder.RetryAfterDecoder extends Object
| Modifier and Type | Method and Description |
|---|---|
Date |
apply(String retryAfter)
returns a date that corresponds to the first time a request can be retried.
|
protected long |
currentTimeMillis() |
protected long currentTimeMillis()
public Date apply(String retryAfter)
retryAfter - String in Retry-After formatCopyright © 2012–2016 OpenFeign. All rights reserved.