Package io.servicetalk.http.netty
Interface RetryingHttpRequesterFilter.RetryCallbacks
- Enclosing class:
- RetryingHttpRequesterFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callbacks invoked on a retry attempt.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeRetry(int retryCount, HttpRequestMetaData requestMetaData, Throwable cause) Called after a retry decision has been made, but before the retry is performed.
-
Method Details
-
beforeRetry
Called after a retry decision has been made, but before the retry is performed.- Parameters:
retryCount- a current retry counter value for this attemptrequestMetaData-HttpRequestMetaDatathat is being retriedcause-Throwablecause for the retry
-