public class HttpClientResponseException extends HttpClientException implements HttpResponseProvider
| Constructor and Description |
|---|
HttpClientResponseException(java.lang.String message,
HttpResponse<?> response) |
HttpClientResponseException(java.lang.String message,
java.lang.Throwable cause,
HttpResponse<?> response) |
HttpClientResponseException(java.lang.String message,
java.lang.Throwable cause,
HttpResponse<?> response,
HttpClientErrorDecoder errorDecoder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
HttpResponse<?> |
getResponse() |
HttpStatus |
getStatus() |
public HttpClientResponseException(java.lang.String message,
HttpResponse<?> response)
message - The messageresponse - The Http responsepublic HttpClientResponseException(java.lang.String message,
java.lang.Throwable cause,
HttpResponse<?> response)
message - The messagecause - The throwableresponse - The Http responsepublic HttpClientResponseException(java.lang.String message,
java.lang.Throwable cause,
HttpResponse<?> response,
HttpClientErrorDecoder errorDecoder)
message - The messagecause - The throwableresponse - The Http responseerrorDecoder - The error decoderpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic HttpResponse<?> getResponse()
getResponse in interface HttpResponseProviderHttpResponsepublic HttpStatus getStatus()
HttpStatus returned