| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | HttpRetryException(String
the detail message. detail, int the HTTP response code from server. code)Constructs a new |
| public | HttpRetryException(String
the detail message. detail, int the HTTP response code from server. code, String the URL to be redirected to location)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The location stringReturns the value of the Location header field if the error resulted from redirection. |
| public String | Returns: The reason stringReturns a string explaining why the http request could not be retried. |
| public int |
| location | back to summary |
|---|---|
| private String location | |
| responseCode | back to summary |
|---|---|
| private final int responseCode | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| HttpRetryException | back to summary |
|---|---|
| public HttpRetryException(String detail, int code) Constructs a new
| |
| HttpRetryException | back to summary |
|---|---|
| public HttpRetryException(String detail, int code, String location) Constructs a new | |
| getLocation | back to summary |
|---|---|
| public String getLocation() Returns the value of the Location header field if the error resulted from redirection.
| |
| getReason | back to summary |
|---|---|
| public String getReason() Returns a string explaining why the http request could not be retried.
| |
| responseCode | back to summary |
|---|---|
| public int responseCode() Returns the http response code
| |