public class RestDocumentViewCodec extends AbstractDocumentViewCodec
| Constructor and Description | 
|---|
RestDocumentViewCodec()  | 
RestDocumentViewCodec(String prefix)  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentView | 
getDocumentViewFromUrl(String url)
There is no document veiw for Rest codec 
 | 
String | 
getPrefix()  | 
String | 
getUrlFromDocumentView(DocumentView docView)
Builds an url from the given document view. 
 | 
handleDocumentView, handleUrl, setPrefixpublic static final String PREFIX
public RestDocumentViewCodec()
public RestDocumentViewCodec(String prefix)
public String getPrefix()
getPrefix in interface DocumentViewCodecgetPrefix in class AbstractDocumentViewCodecpublic String getUrlFromDocumentView(DocumentView docView)
DocumentViewCodecThe url should be partial: it should not hold the context path information (server:port/nuxeo).
public DocumentView getDocumentViewFromUrl(String url)
url - the partial url to redirect to.Copyright © 2015 Nuxeo SA. All rights reserved.