Package | Description |
---|---|
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework for Reactive environments.
|
Modifier and Type | Method and Description |
---|---|
default HandlerFilterFunction<T,R> |
HandlerFilterFunction.andThen(HandlerFilterFunction<T,T> after)
Return a composed filter function that first applies this filter, and then applies the
after filter. |
static HandlerFilterFunction<?,?> |
HandlerFilterFunction.ofRequestProcessor(Function<ServerRequest,reactor.core.publisher.Mono<ServerRequest>> requestProcessor)
Adapt the given request processor function to a filter function that only operates
on the
ServerRequest . |
static <T extends ServerResponse,R extends ServerResponse> |
HandlerFilterFunction.ofResponseProcessor(Function<T,reactor.core.publisher.Mono<R>> responseProcessor)
Adapt the given response processor function to a filter function that only operates
on the
ServerResponse . |
Modifier and Type | Method and Description |
---|---|
default HandlerFilterFunction<T,R> |
HandlerFilterFunction.andThen(HandlerFilterFunction<T,T> after)
Return a composed filter function that first applies this filter, and then applies the
after filter. |
RouterFunctions.Builder |
RouterFunctions.Builder.filter(HandlerFilterFunction<ServerResponse,ServerResponse> filterFunction)
Filters all routes created by this builder with the given filter function.
|
default <S extends ServerResponse> |
RouterFunction.filter(HandlerFilterFunction<T,S> filterFunction)
Filter all handler functions routed by this function with the given
filter function.
|