Skip to content

Commit 91c6fac

Browse files
committed
Update outdated WebClientAdapter.createHttpServiceProxyFactory documentation
1 parent f50b472 commit 91c6fac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

framework-docs/src/docs/asciidoc/integration.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,9 @@ responses performed through the client:
521521
.defaultStatusHandler(HttpStatusCode::isError, resp -> ...)
522522
.build();
523523
524-
HttpServiceProxyFactory proxyFactory =
525-
WebClientAdapter.createHttpServiceProxyFactory(webClient);
524+
WebClientAdapter clientAdapter = WebClientAdapter.forClient(webClient);
525+
HttpServiceProxyFactory factory = HttpServiceProxyFactory
526+
.builder(clientAdapter).build();
526527
----
527528

528529
For more details and options, such as suppressing error status codes, see the Javadoc of

0 commit comments

Comments
 (0)