Class FileResourceBinaryController

java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.resource.FileResourceBinaryController

@RestController
@Api(description="The file upload controller",
     name="File upload controller")
public class FileResourceBinaryController
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    FileResourceBinaryController()  
  • Method Summary

    Modifier and Type Method Description
    de.digitalcollections.model.api.identifiable.resource.FileResource upload​(javax.servlet.http.HttpServletRequest request)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FileResourceBinaryController

      public FileResourceBinaryController()
  • Method Details

    • upload

      @PostMapping({"/latest/files","/v2/files"}) @ApiResponseObject public de.digitalcollections.model.api.identifiable.resource.FileResource upload​(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
      Throws:
      java.io.IOException