Browse Source

Merge branch '5.3.x'

pull/27762/head
Arjen Poutsma 4 years ago
parent
commit
720c30ce84
  1. 2
      spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java
  2. 2
      src/docs/asciidoc/web/webflux-webclient.adoc

2
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java

@ -530,7 +530,7 @@ public interface WebClient { @@ -530,7 +530,7 @@ public interface WebClient {
* return response.bodyToMono(ErrorContainer.class);
* }
* else {
* return response.createException();
* return response.createError();
* }
* });
* </pre>

2
src/docs/asciidoc/web/webflux-webclient.adoc

@ -595,7 +595,7 @@ depending on the response status: @@ -595,7 +595,7 @@ depending on the response status:
}
else {
// Turn to error
return response.createException();
return response.createError();
}
});
----

Loading…
Cancel
Save