Package io.jmix.core
Interface FileTransferService
- All Known Implementing Classes:
- FileTransferServiceImpl
public interface FileTransferService
A service for uploading and downloading files to/from 
FileStorages.- 
Method SummaryModifier and TypeMethodDescriptionvoiddownloadAndWriteResponse(FileRef fileReference, String fileStorageName, Boolean attachment, jakarta.servlet.http.HttpServletResponse response) org.springframework.http.ResponseEntity<FileInfoResponse>fileUpload(String name, String fileStorageName, jakarta.servlet.http.HttpServletRequest request) org.springframework.http.ResponseEntity<FileInfoResponse>multipartFileUpload(org.springframework.web.multipart.MultipartFile file, String name, String fileStorageName, jakarta.servlet.http.HttpServletRequest request) 
- 
Method Details- 
downloadAndWriteResponsevoid downloadAndWriteResponse(FileRef fileReference, String fileStorageName, Boolean attachment, jakarta.servlet.http.HttpServletResponse response) throws FileTransferException - Throws:
- FileTransferException
 
- 
multipartFileUploadorg.springframework.http.ResponseEntity<FileInfoResponse> multipartFileUpload(org.springframework.web.multipart.MultipartFile file, String name, String fileStorageName, jakarta.servlet.http.HttpServletRequest request) throws FileTransferException - Throws:
- FileTransferException
 
- 
fileUploadorg.springframework.http.ResponseEntity<FileInfoResponse> fileUpload(String name, String fileStorageName, jakarta.servlet.http.HttpServletRequest request) throws FileTransferException - Throws:
- FileTransferException
 
 
-