From 7d7d7bccedcb71f228c094244f7c54361b347809 Mon Sep 17 00:00:00 2001 From: galingerv <33348397+galingerv@users.noreply.github.com> Date: Thu, 25 May 2023 11:15:47 +0300 Subject: [PATCH 1/2] Fix typos in Javadoc for ExchangeFilterFunction Closes gh-30543 --- .../web/reactive/function/client/ExchangeFilterFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunction.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunction.java index 7203b38e9a..a030767615 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunction.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunction.java @@ -37,7 +37,7 @@ public interface ExchangeFilterFunction { * Apply this filter to the given request and exchange function. *
The given {@linkplain ExchangeFunction} represents the next entity * in the chain, to be invoked via - * {@linkplain ExchangeFunction#exchange(ClientRequest) invoked} in order to + * {@linkplain ExchangeFunction#exchange(ClientRequest) exchange} in order to * proceed with the exchange, or not invoked to shortcut the chain. * *
Note: When a filter handles the response after the
From cfb3a45479d75c03ec82667f4a01b96f40cf920a Mon Sep 17 00:00:00 2001
From: Sam Brannen The filter is executed when a {@code Subscriber} subscribes to the
* {@code Publisher} returned by the {@code WebClient}.
*
@@ -35,15 +36,13 @@ public interface ExchangeFilterFunction {
/**
* Apply this filter to the given request and exchange function.
- * The given {@linkplain ExchangeFunction} represents the next entity
- * in the chain, to be invoked via
- * {@linkplain ExchangeFunction#exchange(ClientRequest) exchange} in order to
- * proceed with the exchange, or not invoked to shortcut the chain.
- *
+ * The given {@link ExchangeFunction} represents the next entity in the
+ * chain, to be invoked via {@link ExchangeFunction#exchange} in order to
+ * proceed with the exchange, or not invoked to short-circuit the chain.
* Note: When a filter handles the response after the
- * call to {@link ExchangeFunction#exchange}, extra care must be taken to
- * always consume its content or otherwise propagate it downstream for
- * further handling, for example by the {@link WebClient}. Please, see the
+ * call to {@code ExchangeFunction.exchange(...)}, extra care must be taken
+ * to always consume its content or otherwise propagate it downstream for
+ * further handling, for example by the {@link WebClient}. Please see the
* reference documentation for more details on this.
* @param request the current request
* @param next the next exchange function in the chain
@@ -52,8 +51,8 @@ public interface ExchangeFilterFunction {
Mono