@ GetMapping ( "/setting/download/api/json" ) public void downloadApiJson ( HttpServletRequest req , @ RequestParam ( "method" ) String method , @ RequestParam ( "url" ) String url , HttpServletResponse res ) { this . validationSessionComponent . sessionCheck ( req ) ; url = new String ( Base64 . getDecoder ( ) . decode ( url ) ) ; List < ValidationData > list = this . msgSettingService . getValidationData ( method , url ) ; ValidationFileUtil . sendFileToHttpServiceResponse ( method + url . replaceAll ( "/" , "-" ) + ".json" , list , res ) ; }
Download api json .