HttpHeaders header = new HttpHeaders();header.add("Content-Disposition", "attachment; filename=\"" + encodedFileName + ".pdf\"");header.add("Content-Type", "application/pdf");... ์๋ต return ResponseEntity.ok() .headers(header) .contentLength(bytes.length) .contentType(MediaType.APPLICATION_PDF) //์ํญ์ด๊ธฐ .body(resource); ์ด๋ ๊ฒ ์ค์ ํ๋๋ฐ๋,..