CommandHandlerFunctionFactory

class CommandHandlerFunctionFactory(commandGateway: CommandGateway, commandMessageFactory: CommandMessageFactory, exceptionHandler: RequestExceptionHandler, timeout: Duration = DEFAULT_TIME_OUT) : RouteHandlerFunctionFactory<CommandRouteSpec>

Constructors

Link copied to clipboard
constructor(commandGateway: CommandGateway, commandMessageFactory: CommandMessageFactory, exceptionHandler: RequestExceptionHandler, timeout: Duration = DEFAULT_TIME_OUT)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun create(spec: CommandRouteSpec): HandlerFunction<ServerResponse>