@@ -22,11 +22,11 @@ import kotlinx.coroutines.reactor.mono
22
22
import reactor.core.publisher.Mono
23
23
24
24
/* *
25
- * Kotlin-specific implementation of the [ExchangeFilterFunction] interface that allows for
26
- * using coroutines.
25
+ * Kotlin-specific implementation of the [ExchangeFilterFunction] interface
26
+ * that allows for using coroutines.
27
27
*
28
28
* @author Sebastien Deleuze
29
- * @since 6.1.0
29
+ * @since 6.1
30
30
*/
31
31
abstract class CoExchangeFilterFunction : ExchangeFilterFunction {
32
32
@@ -48,8 +48,8 @@ abstract class CoExchangeFilterFunction : ExchangeFilterFunction {
48
48
* proceed with the exchange, or not invoked to short-circuit the chain.
49
49
*
50
50
* **Note:** When a filter handles the response after the
51
- * call to [CoExchangeFunction.exchange], extra care must be taken
52
- * to always consume its content or otherwise propagate it downstream for
51
+ * call to [CoExchangeFunction.exchange], extra care must be taken to
52
+ * always consume its content or otherwise propagate it downstream for
53
53
* further handling, for example by the [WebClient]. Please see the
54
54
* reference documentation for more details on this.
55
55
*
@@ -60,11 +60,12 @@ abstract class CoExchangeFilterFunction : ExchangeFilterFunction {
60
60
protected abstract suspend fun filter (request : ClientRequest , next : CoExchangeFunction ): ClientResponse
61
61
}
62
62
63
+
63
64
/* *
64
65
* Kotlin-specific adaption of [ExchangeFunction] that allows for coroutines.
65
66
*
66
67
* @author Sebastien Deleuze
67
- * @since 6.1.0
68
+ * @since 6.1
68
69
*/
69
70
interface CoExchangeFunction {
70
71
@@ -75,7 +76,7 @@ interface CoExchangeFunction {
75
76
* [CoExchangeFilterFunction] that handles the response in some way,
76
77
* extra care must be taken to always consume its content or otherwise
77
78
* propagate it downstream for further handling, for example by the
78
- * [WebClient]. Please, see the reference documentation for more
79
+ * [WebClient]. Please see the reference documentation for more
79
80
* details on this.
80
81
*
81
82
* @param request the request to exchange
0 commit comments