public interface ResponseErrorHandler
RestTemplate
void
handleError(ClientHttpResponse response)
default void
handleError(java.net.URI url, HttpMethod method, ClientHttpResponse response)
handleError(ClientHttpResponse)
boolean
hasError(ClientHttpResponse response)
boolean hasError(ClientHttpResponse response) throws java.io.IOException
Implementations will typically inspect the HttpStatus of the response.
HttpStatus
response
true
false
java.io.IOException
void handleError(ClientHttpResponse response) throws java.io.IOException
This method is only called when hasError(ClientHttpResponse) has returned true.
hasError(ClientHttpResponse)
default void handleError(java.net.URI url, HttpMethod method, ClientHttpResponse response) throws java.io.IOException
url
method
Impressum und Datenschutz Copyright ©2018 eir.me