public class WebUIRedirectCodec extends AbstractDocumentViewCodec
prefix
Constructor and Description |
---|
WebUIRedirectCodec() |
Modifier and Type | Method and Description |
---|---|
DocumentView |
getDocumentViewFromUrl(String s)
Extracts the document view from given url.
|
String |
getUrlFromDocumentView(DocumentView docView)
Builds an url from the given document view.
|
getPrefix, handleDocumentView, handleUrl, setPrefix
public WebUIRedirectCodec()
public DocumentView getDocumentViewFromUrl(String s)
DocumentViewCodec
The url is partial: it does not hold the context path information (server:port/nuxeo).
s
- the partial url to redirect to.public String getUrlFromDocumentView(DocumentView docView)
DocumentViewCodec
The url should be partial: it should not hold the context path information (server:port/nuxeo).
Copyright © 2018 Nuxeo. All rights reserved.