public enum RetryRule extends Enum<RetryRule>
| 枚举常量和说明 |
|---|
OCCUR_EXCEPTION
发生任意异常
Any exception occurred
|
OCCUR_IO_EXCEPTION
发生IO异常
IO exception occurred
|
RESPONSE_STATUS_NOT_2XX
响应状态码不是2xx
The response status code is not 2xx
|
public static final RetryRule RESPONSE_STATUS_NOT_2XX
public static final RetryRule OCCUR_EXCEPTION
public static final RetryRule OCCUR_IO_EXCEPTION
public static RetryRule[] values()
for (RetryRule c : RetryRule.values()) System.out.println(c);
public static RetryRule valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024. All rights reserved.