Interface HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
- Enclosing class:
HttpBackOffUnsuccessfulResponseHandler
- Since:
- 1.15
-
Field Summary
FieldsModifier and TypeFieldDescriptionBack-off required implementation which returnstrueto everyisRequired(HttpResponse)call.Back-off required implementation which itsisRequired(HttpResponse)returnstrueif a server error occurred (5xx). -
Method Summary
Modifier and TypeMethodDescriptionbooleanisRequired(HttpResponse response) Invoked when an abnormal response is received and determines if back-off is required.
-
Field Details
-
ALWAYS
Back-off required implementation which returnstrueto everyisRequired(HttpResponse)call. -
ON_SERVER_ERROR
Back-off required implementation which itsisRequired(HttpResponse)returnstrueif a server error occurred (5xx).
-
-
Method Details
-
isRequired
Invoked when an abnormal response is received and determines if back-off is required.
-