Package io.jmix.rest.impl.controller
Class FileDownloadController
java.lang.Object
io.jmix.rest.impl.controller.FileDownloadController
@RestController("rest_FileDownloadController")
@RequestMapping("/rest/files")
public class FileDownloadController
extends Object
REST API controller that is used for downloading files
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected FileTransferService
protected Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
downloadFile
(String fileRef, Boolean attachment, javax.servlet.http.HttpServletResponse response)
-
Field Details
-
metadata
-
accessManager
-
fileTransferService
-
-
Constructor Details
-
FileDownloadController
public FileDownloadController()
-
-
Method Details
-
downloadFile
-
checkFileDownloadPermission
protected void checkFileDownloadPermission()
-