Class FileResourceBinaryController
java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.resource.FileResourceBinaryController
@RestController
public class FileResourceBinaryController
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FileResourceBinaryController(FileResourceBinaryService binaryService, FileResourceMetadataService<de.digitalcollections.model.identifiable.resource.FileResource> metadataService) -
Method Summary
Modifier and Type Method Description de.digitalcollections.model.identifiable.resource.FileResourceupload(javax.servlet.http.HttpServletRequest request)
-
Constructor Details
-
FileResourceBinaryController
public FileResourceBinaryController(FileResourceBinaryService binaryService, FileResourceMetadataService<de.digitalcollections.model.identifiable.resource.FileResource> metadataService)
-
-
Method Details
-
upload
@PostMapping(value={"/v5/files","/v2/files","/latest/files"}, produces="application/json") public de.digitalcollections.model.identifiable.resource.FileResource upload(javax.servlet.http.HttpServletRequest request) throws java.io.IOException- Throws:
java.io.IOException
-