|
|
|
@ -990,7 +990,7 @@ public interface RestClient { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Provide a function to map specific error status codes to an error handler. |
|
|
|
* Provide a function to map specific error status codes to an error handler. |
|
|
|
* <p>By default, if there are no matching status handlers, responses with |
|
|
|
* <p>By default, if there are no matching status handlers, responses with |
|
|
|
* status codes >= 400 wil throw a {@link RestClientResponseException}. |
|
|
|
* status codes >= 400 will throw a {@link RestClientResponseException}. |
|
|
|
* <p>Note that {@link IOException IOExceptions}, |
|
|
|
* <p>Note that {@link IOException IOExceptions}, |
|
|
|
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and |
|
|
|
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and |
|
|
|
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions} |
|
|
|
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions} |
|
|
|
@ -1007,7 +1007,7 @@ public interface RestClient { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Provide a function to map specific error status codes to an error handler. |
|
|
|
* Provide a function to map specific error status codes to an error handler. |
|
|
|
* <p>By default, if there are no matching status handlers, responses with |
|
|
|
* <p>By default, if there are no matching status handlers, responses with |
|
|
|
* status codes >= 400 wil throw a {@link RestClientResponseException}. |
|
|
|
* status codes >= 400 will throw a {@link RestClientResponseException}. |
|
|
|
* <p>Note that {@link IOException IOExceptions}, |
|
|
|
* <p>Note that {@link IOException IOExceptions}, |
|
|
|
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and |
|
|
|
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and |
|
|
|
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions} |
|
|
|
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions} |
|
|
|
|