Package io.jmix.webdavrest.method
Class OptionsMethodDelegate
java.lang.Object
io.jmix.webdavrest.method.OptionsMethodDelegate
-
Field Summary
Modifier and TypeFieldDescriptionprotected WebdavDocumentsManagementService
protected WebdavPreconditions
-
Constructor Summary
ConstructorDescriptionOptionsMethodDelegate
(WebdavPreconditions wp, WebdavDocumentsManagementService documentsManagementService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
populateResponseWithHeaders
(jakarta.servlet.http.HttpServletResponse response) processing
(ResourceUri resourceUri, jakarta.servlet.http.HttpServletResponse response) processing
(UUID versionId, ResourceName resourceName, jakarta.servlet.http.HttpServletResponse response, BiFunction<? super UUID, String, ? extends WebdavDocumentVersion> loader)
-
Field Details
-
wp
-
documentsManagementService
-
-
Constructor Details
-
OptionsMethodDelegate
public OptionsMethodDelegate(WebdavPreconditions wp, WebdavDocumentsManagementService documentsManagementService)
-
-
Method Details
-
processing
public WebdavDocumentVersion processing(UUID versionId, ResourceName resourceName, @Mutable jakarta.servlet.http.HttpServletResponse response, BiFunction<? super UUID, String, ? extends WebdavDocumentVersion> loader) - Parameters:
versionId
-resourceName
-response
-loader
-- Returns:
WebdavDocumentVersion
with view options-method-view
-
processing
public WebdavDocument processing(ResourceUri resourceUri, @Mutable jakarta.servlet.http.HttpServletResponse response) -
populateResponseWithHeaders
protected void populateResponseWithHeaders(jakarta.servlet.http.HttpServletResponse response)
-