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