public class RetryHandler
extends java.lang.Object
implements okhttp3.Interceptor
| Modifier and Type | Field and Description |
|---|---|
MiddlewareType |
MIDDLEWARE_TYPE |
static int |
MSClientErrorCodeGatewayTimeout |
static int |
MSClientErrorCodeServiceUnavailable |
static int |
MSClientErrorCodeTooManyRequests |
| Constructor and Description |
|---|
RetryHandler() |
RetryHandler(RetryOptions retryOption) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
public final MiddlewareType MIDDLEWARE_TYPE
public static final int MSClientErrorCodeTooManyRequests
public static final int MSClientErrorCodeServiceUnavailable
public static final int MSClientErrorCodeGatewayTimeout
public RetryHandler(RetryOptions retryOption)
public RetryHandler()