                 response.setContentType(MediaType.APPLICATION_OCTET_STREAM.getType());                 response.setHeader(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\"" + name +  ".xlsx\"");                 workbook.write(response.getOutputStream());                 response.getOutputStream().flush();             }