@Override
public Download resolveDownload(Object result) throws IOException {
if(result instanceof Report) {
Report report = (Report) result;
ReportDownload download = new ReportDownload(report, resolver.getExportFormat(), resolver.doDownload());
download.setExporter(exporter);
return download;
}