Package io.minio
Class Http.StatusRetryInterceptor
java.lang.Object
io.minio.Http.StatusRetryInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
- Enclosing class:
- Http
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion -
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion -
Constructor Summary
ConstructorsConstructorDescriptionStatusRetryInterceptor(Http.StatusRetryInterceptor interceptor, PrintWriter traceWriter, boolean isBucketRequest) StatusRetryInterceptor(Set<Integer> retryStatusCodes, long delayMs, int maxRetries) -
Method Summary
-
Constructor Details
-
StatusRetryInterceptor
public StatusRetryInterceptor() -
StatusRetryInterceptor
-
StatusRetryInterceptor
public StatusRetryInterceptor(Http.StatusRetryInterceptor interceptor, PrintWriter traceWriter, boolean isBucketRequest)
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-