mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix minor typo in RestClient
Closes gh-35723 Signed-off-by: Anton Xu <anton-xu@hotmail.com>
This commit is contained in:
committed by
Sébastien Deleuze
parent
f28e245baa
commit
01a58a253b
@@ -904,7 +904,7 @@ public interface RestClient {
|
||||
/**
|
||||
* 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
|
||||
* status codes >= 400 wil throw a {@link RestClientResponseException}.
|
||||
* status codes >= 400 will throw a {@link RestClientResponseException}.
|
||||
* <p>Note that {@link IOException IOExceptions},
|
||||
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and
|
||||
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}
|
||||
@@ -921,7 +921,7 @@ public interface RestClient {
|
||||
/**
|
||||
* 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
|
||||
* status codes >= 400 wil throw a {@link RestClientResponseException}.
|
||||
* status codes >= 400 will throw a {@link RestClientResponseException}.
|
||||
* <p>Note that {@link IOException IOExceptions},
|
||||
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and
|
||||
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}
|
||||
|
||||
Reference in New Issue
Block a user