From 8b7ed5f45e9f98d8b6214c8ffc7c9b6d41bdf5ae Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 18 Jul 2019 15:37:33 +0200 Subject: [PATCH] Added since tag --- .../web/reactive/function/client/WebClient.java | 4 ++++ 1 file changed, 4 insertions(+) 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);