diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java index cedbeb7aa46..ab72a30f5ac 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java @@ -264,8 +264,7 @@ public interface EntityResponse extends ServerResponse { Builder hint(String key, Object value); /** - * Manipulate serialization hint with the given consumer. - * + * Customize the serialization hints with the given consumer. * @param hintsConsumer a function that consumes the hints * @return this builder * @since 5.1.6 diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java index 78d097a2803..286845d9dac 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java @@ -377,8 +377,7 @@ public interface ServerResponse { BodyBuilder hint(String key, Object value); /** - * Manipulate serialization hint with the given consumer. - * + * Customize the serialization hints with the given consumer. * @param hintsConsumer a function that consumes the hints * @return this builder * @since 5.1.6