DefaultCommandHandler
class DefaultCommandHandler(chain: FilterChain<ServerCommandExchange<*>>, errorHandler: ErrorHandler<ServerCommandExchange<*>> = LogResumeErrorHandler()) : AbstractHandler<ServerCommandExchange<*>> , CommandHandler
Default implementation of CommandHandler using a filter chain.
This handler processes commands by passing them through a configured filter chain, with built-in error handling capabilities.
Parameters
chain
The filter chain to process commands through.
errorHandler
The error handler for handling exceptions during command processing. Defaults to LogResumeErrorHandler.
Constructors
Link copied to clipboard
constructor(chain: FilterChain<ServerCommandExchange<*>>, errorHandler: ErrorHandler<ServerCommandExchange<*>> = LogResumeErrorHandler())