Interface OptimalPathContentProcessor<T extends ContentTreeNode>

All Superinterfaces:
ContentProcessor<T>
All Known Implementing Classes:
OptimalPathContentProcessorImpl, PageContentProcessor, ResourceContentProcessor

public interface OptimalPathContentProcessor<T extends ContentTreeNode> extends ContentProcessor<T>
This processor checks whether the current request URL and the optimal path of the resolved node are equal and does a redirect to the optimal path if this is not the case.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processIgnoreOptimalPath(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, T contentTreeNode)
    Prevent the processor from redirecting to the optimal path and thus force the processor to process the node directly.

    Methods inherited from interface ch.tocco.nice2.dms.spi.publish.ContentProcessor

    process, treeNodeClass
  • Method Details

    • processIgnoreOptimalPath

      void processIgnoreOptimalPath(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, T contentTreeNode)
      Prevent the processor from redirecting to the optimal path and thus force the processor to process the node directly.