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, setPrefixpublic WebUIRedirectCodec()
public DocumentView getDocumentViewFromUrl(String s)
DocumentViewCodecThe 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)
DocumentViewCodecThe url should be partial: it should not hold the context path information (server:port/nuxeo).
Copyright © 2019 Nuxeo. All rights reserved.