|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
|
* Copyright 2002-2025 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -876,7 +876,7 @@ public interface WebClient {
@@ -876,7 +876,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 |
|
|
|
|
@ -896,7 +896,7 @@ public interface WebClient {
@@ -896,7 +896,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 |
|
|
|
|
@ -918,7 +918,7 @@ public interface WebClient {
@@ -918,7 +918,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} |
|
|
|
|
|