Package io.minio

Class Http.StatusRetryInterceptor

java.lang.Object
io.minio.Http.StatusRetryInterceptor
All Implemented Interfaces:
okhttp3.Interceptor
Enclosing class:
Http

public static class Http.StatusRetryInterceptor extends Object implements okhttp3.Interceptor
  • Constructor Details

    • StatusRetryInterceptor

      public StatusRetryInterceptor()
    • StatusRetryInterceptor

      public StatusRetryInterceptor(Set<Integer> retryStatusCodes, long delayMs, int maxRetries)
    • StatusRetryInterceptor

      public StatusRetryInterceptor(Http.StatusRetryInterceptor interceptor, PrintWriter traceWriter, boolean isBucketRequest)
  • Method Details

    • intercept

      public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
      Specified by:
      intercept in interface okhttp3.Interceptor
      Throws:
      IOException