|
|
@ -120,7 +120,7 @@ public class LogFilter extends AbstractComponent {
|
|
|
|
protected boolean downloadFilter(ServiceLog log) {
|
|
|
|
protected boolean downloadFilter(ServiceLog log) {
|
|
|
|
Object returned = log.getReturned();
|
|
|
|
Object returned = log.getReturned();
|
|
|
|
if (returned instanceof ModelAndView mav) {
|
|
|
|
if (returned instanceof ModelAndView mav) {
|
|
|
|
if (!"downloadView".equals(mav.getViewName())) return false;
|
|
|
|
if (!"downloadView".equals(mav.getViewName())) return true;
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> model = mav.getModel();
|
|
|
|
Map<String, Object> model = mav.getModel();
|
|
|
|
String filename = DownloadView.getFilename(model);
|
|
|
|
String filename = DownloadView.getFilename(model);
|
|
|
@ -132,7 +132,7 @@ public class LogFilter extends AbstractComponent {
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**ModelAndView의 'downloadData'로 설정한 데이터에서
|
|
|
|
/**ModelAndView의 'downloadData'로 설정한 데이터에서
|
|
|
|