Skip to content

Commit 3971632

Browse files
committed
Reintroduce SimpleClientHttpRequestFactory limitations
Closes gh-32641
1 parent 1e54916 commit 3971632

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: framework-docs/modules/ROOT/pages/integration/rest-clients.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@ If no request factory is specified when the `RestClient` was built, it will use
468468
Otherwise, if the `java.net.http` module is loaded, it will use Java's `HttpClient`.
469469
Finally, it will resort to the simple default.
470470

471+
TIP: Note that the `SimpleClientHttpRequestFactory` may raise an exception when accessing the status of a response that represents an error (e.g. 401).
472+
If this is an issue, use any of the alternative request factories.
473+
471474
[[rest-webclient]]
472475
== `WebClient`
473476

0 commit comments

Comments
 (0)