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