With file Stream @GET @Path("/download") public Response downloadBatchFile() { StreamingOutput fileStream = new StreamingOutput() { @Override public void write(java.io.OutputStream output) throws IOException, WebApplicationException { try { java.nio.file.Path path = Paths.get("filepath"); //absolute path byte[] data = Files.readAllBytes(path); output.write(data); ...
댓글
댓글 쓰기