Package io.jmix.webdavrest.controller
Class WebdavEndPointLinkController
java.lang.Object
io.jmix.webdavrest.controller.WebdavEndPointLinkController
@Controller
@RequestMapping({"/webdav/link/{resourceId}","/webdav/link/{resourceId}/"})
public class WebdavEndPointLinkController
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected CookieAuthenticationRegistry
protected DataManager
protected Messages
protected Metadata
protected WebdavUrlManagementService
protected WebdavProperties
-
Constructor Summary
ConstructorDescriptionWebdavEndPointLinkController
(DataManager dataManager, WebdavUrlManagementService urlService, Messages messages, Metadata metadata, WebdavProperties webdavProperties, CookieAuthenticationRegistry cookieAuthenticationRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
getResourceUri
(jakarta.servlet.http.HttpServletRequest request) org.springframework.web.servlet.view.RedirectView
retrieveResource
(UUID resourceId)
-
Field Details
-
dataManager
-
urlService
-
messages
-
metadata
-
webdavProperties
-
cookieAuthenticationRegistry
-
-
Constructor Details
-
WebdavEndPointLinkController
@Autowired public WebdavEndPointLinkController(DataManager dataManager, WebdavUrlManagementService urlService, Messages messages, Metadata metadata, WebdavProperties webdavProperties, CookieAuthenticationRegistry cookieAuthenticationRegistry)
-
-
Method Details
-
getResourceUri
@ModelAttribute("resourceUri") public ResourceUri getResourceUri(jakarta.servlet.http.HttpServletRequest request) -
retrieveResource
@GetMapping public org.springframework.web.servlet.view.RedirectView retrieveResource(@PathVariable UUID resourceId) -
generateRedirectUrl
-
generateUrlToken
-