com.aliyun.oss.common.comm

## 类 NoRetryStrategy

- java.lang.Object
- - com.aliyun.oss.common.comm.RetryStrategy
  - - com.aliyun.oss.common.comm.NoRetryStrategy

-     public class NoRetryStrategy
      extends RetryStrategy

  No retry strategy that does nothing when HTTP request fails.

- - ### 构造器概要

    构造器
    构造器和说明
    `NoRetryStrategy()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `shouldRetry(Exception ex, RequestMessage request, ResponseMessage response, int retries)`

    - ### 从类继承的方法 com.aliyun.oss.common.comm.RetryStrategy

      `getPauseDelay`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### NoRetryStrategy

          public NoRetryStrategy()

  - ### 方法详细资料

    - #### shouldRetry

          public boolean shouldRetry(Exception ex,
                            RequestMessage request,
                            ResponseMessage response,
                            int retries)

      指定者:
        `shouldRetry` 在类中 `RetryStrategy`

Copyright © 2020. All Rights Reserved.