mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Update outdated WebClientAdapter.createHttpServiceProxyFactory documentation
This commit is contained in:
@@ -521,8 +521,9 @@ responses performed through the client:
|
||||
.defaultStatusHandler(HttpStatusCode::isError, resp -> ...)
|
||||
.build();
|
||||
|
||||
HttpServiceProxyFactory proxyFactory =
|
||||
WebClientAdapter.createHttpServiceProxyFactory(webClient);
|
||||
WebClientAdapter clientAdapter = WebClientAdapter.forClient(webClient);
|
||||
HttpServiceProxyFactory factory = HttpServiceProxyFactory
|
||||
.builder(clientAdapter).build();
|
||||
----
|
||||
|
||||
For more details and options, such as suppressing error status codes, see the Javadoc of
|
||||
|
||||
Reference in New Issue
Block a user