@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:25.710Z") @Stability(value=Experimental) public enum HttpRetryEvent extends Enum<HttpRetryEvent>
| Enum Constant and Description |
|---|
CLIENT_ERROR
(experimental) HTTP status code 409.
|
GATEWAY_ERROR
(experimental) HTTP status codes 502, 503, and 504.
|
SERVER_ERROR
(experimental) HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511.
|
STREAM_ERROR
(experimental) Retry on refused stream.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpRetryEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRetryEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final HttpRetryEvent SERVER_ERROR
@Stability(value=Experimental) public static final HttpRetryEvent GATEWAY_ERROR
@Stability(value=Experimental) public static final HttpRetryEvent CLIENT_ERROR
@Stability(value=Experimental) public static final HttpRetryEvent STREAM_ERROR
public static HttpRetryEvent[] values()
for (HttpRetryEvent c : HttpRetryEvent.values()) System.out.println(c);
public static HttpRetryEvent valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.