Browse Source

Fix method links in Javadoc of WebClient

Closes gh-34938

Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
pull/35405/head
Dmitry Sulman 7 months ago committed by rstoyanchev
parent
commit
63db3d06ab
  1. 8
      spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java

8
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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -876,7 +876,7 @@ public interface WebClient {
<T> Flux<T> bodyToFlux(Class<T> elementClass); <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 elementTypeRef the type of element to decode to
* @param <T> the body element type * @param <T> the body element type
* @return the decoded body * @return the decoded body
@ -896,7 +896,7 @@ public interface WebClient {
<T> Mono<ResponseEntity<T>> toEntity(Class<T> bodyClass); <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 bodyTypeReference the expected response body type
* @param <T> the response body type * @param <T> the response body type
* @return the {@code ResponseEntity} with the decoded body * @return the {@code ResponseEntity} with the decoded body
@ -918,7 +918,7 @@ public interface WebClient {
<T> Mono<ResponseEntity<List<T>>> toEntityList(Class<T> elementClass); <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 elementTypeRef the type of element to decode the target Flux to
* @param <T> the body element type * @param <T> the body element type
* @return the {@code ResponseEntity} * @return the {@code ResponseEntity}

Loading…
Cancel
Save