@ GetMapping ( "/setting/download/api/excel" ) public void downloadApi ( HttpServletRequest req , @ RequestParam ( "method" ) String method , @ RequestParam ( "url" ) String url , HttpServletResponse res ) { this . validationSessionComponent . sessionCheck ( req ) ; url = new String ( Base64 . getDecoder ( ) . decode ( url ) ) ; PoiWorkBook workBook = this . msgExcelService . getExcel ( method , url ) ; workBook . writeFile ( "ValidationApis_" + System . currentTimeMillis ( ) , res ) ; }
Download api .