Merge branch '6.2.x'

This commit is contained in:
rstoyanchev
2025-05-28 11:10:06 +01:00
4 changed files with 37 additions and 13 deletions

View File

@@ -839,7 +839,7 @@ public interface WebClient {
<T> Flux<T> bodyToFlux(Class<T> elementClass);
/**
* Variant of {@link #bodyToMono(Class)} with a {@link ParameterizedTypeReference}.
* Variant of {@link #bodyToFlux(Class)} with a {@link ParameterizedTypeReference}.
* @param elementTypeRef the type of element to decode to
* @param <T> the body element type
* @return the decoded body
@@ -859,7 +859,7 @@ public interface WebClient {
<T> Mono<ResponseEntity<T>> toEntity(Class<T> bodyClass);
/**
* Variant of {@link #bodyToMono(Class)} with a {@link ParameterizedTypeReference}.
* Variant of {@link #toEntity(Class)} with a {@link ParameterizedTypeReference}.
* @param bodyTypeReference the expected response body type
* @param <T> the response body type
* @return the {@code ResponseEntity} with the decoded body
@@ -881,7 +881,7 @@ public interface WebClient {
<T> Mono<ResponseEntity<List<T>>> toEntityList(Class<T> elementClass);
/**
* Variant of {@link #toEntity(Class)} with a {@link ParameterizedTypeReference}.
* Variant of {@link #toEntityList(Class)} with a {@link ParameterizedTypeReference}.
* @param elementTypeRef the type of element to decode the target Flux to
* @param <T> the body element type
* @return the {@code ResponseEntity}