HttpRetryException (Java SE 25 & JDK 25)
- All Implemented Interfaces:
Serializable
-
Constructor Summary
Constructors
Constructs a new
HttpRetryExceptionfrom the specified response code and exception detail messageConstructs a new
HttpRetryExceptionwith detail message responseCode and the contents of the Location response header field. -
Method Summary
Returns the value of the Location header field if the error resulted from redirection.
Returns a string explaining why the http request could not be retried.
intReturns the http response code
Methods declared in class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpRetryException
-
HttpRetryException
-
-
Method Details
-
responseCode
-
getReason
-
getLocation
-