AbstractHandler

abstract class AbstractHandler<T>(chain: FilterChain<T>, errorHandler: ErrorHandler<T>) : Handler<T>

Base handler that delegates processing to chain and failures to errorHandler.

Parameters

chain

filter chain used to process the context

errorHandler

handler used when processing fails

Type Parameters

T

context type

Inheritors

Constructors

Link copied to clipboard
constructor(chain: FilterChain<T>, errorHandler: ErrorHandler<T>)

Functions

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

Method to execute the handling logic.