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 f39fee19e23..5f95d47a1d0 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 @@ -742,6 +742,7 @@ public interface WebClient { * @param bodyClass the expected response body type * @param response body type * @return {@code Mono} with the {@code ResponseEntity} + * @since 5.2 */ Mono> toEntity(Class bodyClass); @@ -752,6 +753,7 @@ public interface WebClient { * @param bodyTypeReference a type reference describing the expected response body type * @param response body type * @return {@code Mono} with the {@code ResponseEntity} + * @since 5.2 */ Mono> toEntity(ParameterizedTypeReference bodyTypeReference); @@ -763,6 +765,7 @@ public interface WebClient { * @param elementClass the expected response body list element class * @param the type of elements in the list * @return {@code Mono} with the list of {@code ResponseEntity}s + * @since 5.2 */ Mono>> toEntityList(Class elementClass); @@ -774,6 +777,7 @@ public interface WebClient { * @param elementTypeRef the expected response body list element reference type * @param the type of elements in the list * @return {@code Mono} with the list of {@code ResponseEntity}s + * @since 5.2 */ Mono>> toEntityList(ParameterizedTypeReference elementTypeRef);