FilterChain

fun interface FilterChain<T>

Interface for orchestrating a chain of filters to process a context.

Similar to org.springframework.web.server.handler.WebFilterChain, this interface allows sequential execution of filters on a given context.

Parameters

T

the type of context being processed by the filter chain

Inheritors

Functions

Link copied to clipboard
abstract fun filter(context: T): Mono<Void>

Executes the filter chain on the given context.