DatasetQueryHandlerFunction
class DatasetQueryHandlerFunction(operation: DatasetQueryOperation, gateways: DatasetQueryGateways, requestScope: DatasetQueryRequestScope, exceptionHandler: RequestExceptionHandler, guard: HttpQueryGuard = HttpQueryGuard()) : HandlerFunction<ServerResponse>
One dataset query route: it finds the dataset named by {context} and {dataset} (404 when this instance serves no such dataset) and runs operation through the same pipeline as an aggregate's query routes: the HTTP entry, the caller scope, the HTTP guard and the capability descriptor's ETag.
Constructors
Link copied to clipboard
constructor(operation: DatasetQueryOperation, gateways: DatasetQueryGateways, requestScope: DatasetQueryRequestScope, exceptionHandler: RequestExceptionHandler, guard: HttpQueryGuard = HttpQueryGuard())