Class RestDocumentViewCodec

    • Constructor Detail

      • RestDocumentViewCodec

        public RestDocumentViewCodec()
      • RestDocumentViewCodec

        public RestDocumentViewCodec​(String prefix)
    • Method Detail

      • getUrlFromDocumentView

        public String getUrlFromDocumentView​(DocumentView docView)
        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).

      • getDocumentViewFromUrl

        public DocumentView getDocumentViewFromUrl​(String url)
        There is no document veiw for Rest codec
        Parameters:
        url - the partial url to redirect to.
        Returns:
        a document view instance.