Interface OptimalPathContentProcessor<T extends ContentTreeNode>
- All Superinterfaces:
ContentProcessor<T>
- All Known Implementing Classes:
OptimalPathContentProcessorImpl, PageContentProcessor, ResourceContentProcessor
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 TypeMethodDescriptionvoidprocessIgnoreOptimalPath(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 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.
-