Package org.mycore.webtools.upload
Class MCRUploadResource
java.lang.Object
org.mycore.webtools.upload.MCRUploadResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
uploadFile
(String path, String objectID, String uploadID, InputStream contents) jakarta.ws.rs.core.Response
validateFile
(String path, String objectID, String size)
-
Constructor Details
-
MCRUploadResource
public MCRUploadResource()
-
-
Method Details
-
commit
-
validateFile
-
uploadFile
@PUT @Path("{objectID}/{path:.+}") public void uploadFile(@PathParam("path") String path, @PathParam("objectID") String objectID, @QueryParam("uploadID") String uploadID, InputStream contents) throws IOException - Throws:
IOException
-