Browse Source

Update outdated WebClientAdapter.createHttpServiceProxyFactory documentation

pull/29492/head
Sébastien Deleuze 3 years ago
parent
commit
91c6fac18a
  1. 5
      framework-docs/src/docs/asciidoc/integration.adoc

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

@ -521,8 +521,9 @@ responses performed through the client: @@ -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

Loading…
Cancel
Save