springboot多檔案打包下載到客戶端--工具類utils

導演我死哪兒發表於2020-12-31

https://blog.csdn.net/ljq54/article/details/89951137      springboot多檔案打包下載到客戶端--工具類utils

// 獲得request物件,response物件
        ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
        HttpServletRequest request = attributes.getRequest();
        HttpServletResponse response = attributes.getResponse();

相關文章