diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java index 62a34144cf3..f7cbb9f4265 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java @@ -263,6 +263,8 @@ public interface WebClient { * apply to every response. Such default handlers are applied in the * order in which they are registered, and after any others that are * registered for a specific response. + *

The default status handlers are not applied to {@code exchangeTo*()} + * methods, as those variants have direct access to the client response. * @param statusPredicate to match responses with * @param exceptionFunction to map the response to an error signal * @return this builder