主要就是在响应头设置content-disposition,主要遵循 RFC 5987标准。
response.setHeader("content-disposition","attachment;filename*=UTF-8''" + URLEncoder.encode(fileName,"UTF-8"));