Source
Future handle() async {
request.app.commandSync.send(
new Command('Request.beforeHandling', args: {'request': request}));
if (_handler == null) {
_logger.shout("Not handled: ${this.request}");
notFound();
return;
}
await _handler(request);
}