Class WebUIRedirectCodec

All Implemented Interfaces:
DocumentViewCodec

public class WebUIRedirectCodec extends AbstractDocumentViewCodec
Since:
9.10
  • Constructor Details

    • WebUIRedirectCodec

      public WebUIRedirectCodec()
  • Method Details

    • getDocumentViewFromUrl

      public DocumentView getDocumentViewFromUrl(String s)
      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

      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).