@Component(value="core_FileTransferService") public class FileTransferServiceImpl extends java.lang.Object implements FileTransferService
Constructor and Description |
---|
FileTransferServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
downloadAndWriteResponse(FileRef fileReference,
java.lang.String fileStorageName,
java.lang.Boolean attachment,
javax.servlet.http.HttpServletResponse response) |
org.springframework.http.ResponseEntity<FileInfoResponse> |
fileUpload(java.lang.String name,
java.lang.String fileStorageName,
javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<FileInfoResponse> |
multipartFileUpload(org.springframework.web.multipart.MultipartFile file,
java.lang.String name,
java.lang.String fileStorageName,
javax.servlet.http.HttpServletRequest request) |
public void downloadAndWriteResponse(FileRef fileReference, java.lang.String fileStorageName, java.lang.Boolean attachment, javax.servlet.http.HttpServletResponse response) throws FileTransferException
downloadAndWriteResponse
in interface FileTransferService
FileTransferException
public org.springframework.http.ResponseEntity<FileInfoResponse> multipartFileUpload(org.springframework.web.multipart.MultipartFile file, java.lang.String name, java.lang.String fileStorageName, javax.servlet.http.HttpServletRequest request) throws FileTransferException
multipartFileUpload
in interface FileTransferService
FileTransferException
public org.springframework.http.ResponseEntity<FileInfoResponse> fileUpload(java.lang.String name, java.lang.String fileStorageName, javax.servlet.http.HttpServletRequest request) throws FileTransferException
fileUpload
in interface FileTransferService
FileTransferException