filter

abstract override fun filter(exchange: T, next: FilterChain<T>): Mono<Void>

Processes the message exchange and optionally calls the next filter in the chain.

Return

A Mono that completes when filtering is done

Parameters

exchange

The message exchange to process

next

The next filter in the chain