T - the type of the handler function to filterR - the type of the response of the function@FunctionalInterface public interface FilterFunction<T,R>
RouterFunction.filter(FilterFunction)| Modifier and Type | Method and Description |
|---|---|
Response<R> |
filter(Request request,
HandlerFunction<T> next)
Apply this filter to the given handler function.
|
Response<R> filter(Request request, HandlerFunction<T> next)
request - the requestnext - the next handler or filter function in the chainRequestWrapper