Class WebdavEndPointDocumentVersionController

java.lang.Object
io.jmix.webdavrest.controller.WebdavEndPointDocumentVersionController

@Controller @RequestMapping("/webdav/version/{versionId}/{resourceNameWithVer:.+}") public class WebdavEndPointDocumentVersionController extends Object
  • Field Details

  • Constructor Details

    • WebdavEndPointDocumentVersionController

      public WebdavEndPointDocumentVersionController(org.springframework.web.context.WebApplicationContext webApplicationContext, WebdavDocumentVersionsManagementService documentVersionsService, WebdavTools wt)
  • Method Details

    • getResourceUri

      @ModelAttribute("resourceUri") public ResourceUri getResourceUri(javax.servlet.http.HttpServletRequest request)
    • getResourceName

      @ModelAttribute("resourceName") public ResourceName getResourceName(@PathVariable String resourceNameWithVer)
    • retrieveOptions

      @OptionsMapping public void retrieveOptions(@PathVariable UUID versionId, @ModelAttribute ResourceName resourceName, javax.servlet.http.HttpServletResponse response)
    • retrieveMetadata

      @PropFindMapping public org.springframework.http.ResponseEntity<PropFindMultipleResponseObject> retrieveMetadata(@ModelAttribute ResourceUri resourceUri, @PathVariable UUID versionId, @ModelAttribute ResourceName resourceName, @RequestBody PropFindPropertiesList requestProperties)
    • retrieveResource

      @GetMapping public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> retrieveResource(@PathVariable UUID versionId, @RequestHeader(name="If-None-Match",required=false) String ifNoneMatchHeader, @ModelAttribute ResourceName resourceName)
    • lockResource

      @LockMapping public org.springframework.http.ResponseEntity<LockInfoWithResourceUri> lockResource()
    • unlockResource

      @UnLockMapping public org.springframework.http.ResponseEntity<Void> unlockResource()
    • updateResource

      @PutMapping public void updateResource()
    • withWebContextBean

      protected <T, R> R withWebContextBean(Class<T> beanClass, Function<? super T,? extends R> applier)