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