Fix composability issue in ExchangeMutatorWebFilter
This commit replaces the UnaryOperatory<ServerWebExchange> inputs with
Function<ServerWebExchange, ServerWebExchange> instead. Unfortunately
the composability methods inherited from Function don't work in terms
of generics for composing multiple UnaryOperator's.
Issue: SPR-15599
@ -69,7 +76,11 @@ public class ExchangeMutatorWebFilter implements WebFilter {
@@ -69,7 +76,11 @@ public class ExchangeMutatorWebFilter implements WebFilter {
Assert.notNull(processor,"'processor' is required");
this.processor=processor;
}
@ -100,7 +111,7 @@ public class ExchangeMutatorWebFilter implements WebFilter {
@@ -100,7 +111,7 @@ public class ExchangeMutatorWebFilter implements WebFilter {