public class HttpRetryContext extends Object implements RetryContext
| Constructor and Description |
|---|
HttpRetryContext(String uri,
HttpMethod method,
int httpStatusCode,
int retriesAttempted,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
int |
getHttpStatusCode() |
HttpMethod |
getMethod() |
int |
getRetriesAttempted() |
String |
getUri() |
void |
setThrottled(boolean throttled) |
boolean |
throttled() |
public HttpRetryContext(String uri, HttpMethod method, int httpStatusCode, int retriesAttempted, Throwable cause)
public String getUri()
public HttpMethod getMethod()
public Throwable getCause()
getCause in interface RetryContextpublic int getRetriesAttempted()
getRetriesAttempted in interface RetryContextpublic boolean throttled()
throttled in interface RetryContextpublic void setThrottled(boolean throttled)
setThrottled in interface RetryContextpublic int getHttpStatusCode()
Copyright © 2025 Webull. All rights reserved.