Package org.nuxeo.web.ui
Class WebUIRedirectCodec
java.lang.Object
org.nuxeo.ecm.platform.url.service.AbstractDocumentViewCodec
org.nuxeo.web.ui.WebUIRedirectCodec
- All Implemented Interfaces:
DocumentViewCodec
- Since:
- 9.10
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.url.service.AbstractDocumentViewCodec
prefix
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionExtracts the document view from given url.getUrlFromDocumentView
(DocumentView docView) Builds an url from the given document view.Methods inherited from class org.nuxeo.ecm.platform.url.service.AbstractDocumentViewCodec
getPrefix, handleDocumentView, handleUrl, setPrefix
-
Constructor Details
-
WebUIRedirectCodec
public WebUIRedirectCodec()
-
-
Method Details
-
getDocumentViewFromUrl
Description copied from interface:DocumentViewCodec
Extracts the document view from given url.The url is partial: it does not hold the context path information (server:port/nuxeo).
- Parameters:
s
- the partial url to redirect to.- Returns:
- a document view instance.
-
getUrlFromDocumentView
Description copied from interface:DocumentViewCodec
Builds an url from the given document view.The url should be partial: it should not hold the context path information (server:port/nuxeo).
-