AbstractFilterChain

abstract class AbstractFilterChain<T>(val current: Filter<T>, val next: FilterChain<T>) : FilterChain<T>

Abstract base class for filter chains that delegates to a current filter and a next chain.

This class implements the FilterChain interface by calling the current filter's Filter.filter method with the context and the next chain.

Parameters

T

the type of context being processed

Inheritors

Constructors

Link copied to clipboard
constructor(current: Filter<T>, next: FilterChain<T>)

Properties

Link copied to clipboard

the current Filter to execute

Link copied to clipboard

the next FilterChain in the sequence

Functions

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

Executes the current filter and delegates to the next chain.