Reintroduce SimpleClientHttpRequestFactory limitations
Closes gh-32641
This commit is contained in:
parent
1e54916119
commit
3971632415
|
@ -468,6 +468,9 @@ If no request factory is specified when the `RestClient` was built, it will use
|
||||||
Otherwise, if the `java.net.http` module is loaded, it will use Java's `HttpClient`.
|
Otherwise, if the `java.net.http` module is loaded, it will use Java's `HttpClient`.
|
||||||
Finally, it will resort to the simple default.
|
Finally, it will resort to the simple default.
|
||||||
|
|
||||||
|
TIP: Note that the `SimpleClientHttpRequestFactory` may raise an exception when accessing the status of a response that represents an error (e.g. 401).
|
||||||
|
If this is an issue, use any of the alternative request factories.
|
||||||
|
|
||||||
[[rest-webclient]]
|
[[rest-webclient]]
|
||||||
== `WebClient`
|
== `WebClient`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue