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 69e07aebf58..0c2529b8973 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 @@ -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 { Flux bodyToFlux(Class 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 the body element type * @return the decoded body @@ -896,7 +896,7 @@ public interface WebClient { Mono> toEntity(Class 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 the response body type * @return the {@code ResponseEntity} with the decoded body @@ -918,7 +918,7 @@ public interface WebClient { Mono>> toEntityList(Class 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 the body element type * @return the {@code ResponseEntity}