1. override
Future<Response> handle(Request request)

Source

@override Future<Response> handle(Request request) async {
  final Response response = await handler(request);
  if (response.statusCode == 404) {
    throw new HttpNotFoundException('No file found at ${fileSystemPath}/${request.url.path}');
  }
  return response;
}