java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.io.IOException | |||
↳ | java.net.HttpRetryException |
If a HTTP request has to be retried, this exception will be thrown if the request cannot be retried automatically.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
HttpRetryException instance with the specified
response code and the given detail message.
| |||||||||||
Creates a new
HttpRetryException instance with the specified
response code, the given detail message and the value of the location
field from the response header.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the location value.
| |||||||||||
Gets the detail message.
| |||||||||||
Gets the response code.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Creates a new HttpRetryException
instance with the specified
response code and the given detail message.
detail | the detail message for this exception. |
---|---|
code | the HTTP response code from target host. |
Creates a new HttpRetryException
instance with the specified
response code, the given detail message and the value of the location
field from the response header.
detail | the detail message for this exception. |
---|---|
code | the HTTP response code from target host. |
location | the destination URL of the redirection. |
Gets the location value.
Gets the detail message.
Gets the response code.