@Beta public interface RetryContext
Modifier and Type | Method and Description |
---|---|
default WebTarget |
beforeRetry(WebTarget webTarget)
The method will be called before retry
|
int |
getRetryCount() |
default int |
getRetryDelay(Response response) |
default boolean |
mustBeRetried(Response response) |
int getRetryCount()
default int getRetryDelay(Response response)
response
- last executed response instancedefault boolean mustBeRetried(Response response)
response
- last executed response instanceCopyright © 2020. All rights reserved.