From 91c6fac18a3e1cbdbbdf692ce7f840dc95b9591b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Mon, 14 Nov 2022 11:16:16 +0100 Subject: [PATCH] Update outdated WebClientAdapter.createHttpServiceProxyFactory documentation --- framework-docs/src/docs/asciidoc/integration.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework-docs/src/docs/asciidoc/integration.adoc b/framework-docs/src/docs/asciidoc/integration.adoc index 674424c6db4..0bc29cf8dbf 100644 --- a/framework-docs/src/docs/asciidoc/integration.adoc +++ b/framework-docs/src/docs/asciidoc/integration.adoc @@ -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