Interface RetryAfter
- All Superinterfaces:
HttpResponseHeaders
- All Known Implementing Classes:
RetryAfterClientProblem,RetryAfterServerProblem,ServiceUnavailableProblem,TooManyFailedRequestsProblem,TooManyRequestsProblem
Interface implemented by problems with retryAfter / retryAfterSec properties.
The retry value is also returned in the Retry-After HTTP response header.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the HTTP response headers.
-
Field Details
-
RETRY_AFTER
The Retry-After HTTP header.- See Also:
-
-
Method Details
-
getRetryAfter
OffsetDateTime getRetryAfter() -
getRetryAfterSec
Long getRetryAfterSec() -
getHttpResponseHeaders
Description copied from interface:HttpResponseHeadersReturn the HTTP response headers.- Specified by:
getHttpResponseHeadersin interfaceHttpResponseHeaders- Returns:
- the HTTP response headers
-