Class RetryInterceptor
-
- All Implemented Interfaces:
-
okhttp3.Interceptor
public final class RetryInterceptor implements InterceptorInterceptor that implements retry logic for network requests based on a provided RetryPolicy. It retries requests that fail due to retriable HTTP errors, IOException, or IllegalStateException (HTTP/2 protocol errors), with exponential backoff.
-
-
Constructor Summary
Constructors Constructor Description RetryInterceptor()
-