Interface ViewRenderer
- All Superinterfaces:
ResponseProcessor
- All Known Implementing Classes:
FreemarkerViewRenderer,JspViewRenderer,MustacheViewRenderer,ThymeleafViewRenderer
Marker interface for response processors that handle
View-typed return values.
During ResponseProcessorList construction, any processor implementing this interface
is automatically repositioned to run before any CatchAllResponseProcessor in the chain.
This ensures view renderers are consulted before the catch-all serializer for
View-returning @RestOp methods.
The four built-in renderers automatically implement this interface:
org.apache.juneau.rest.server.view.jsp.JspViewRendererorg.apache.juneau.rest.server.view.thymeleaf.ThymeleafViewRendererorg.apache.juneau.rest.server.view.mustache.MustacheViewRendererorg.apache.juneau.rest.server.view.freemarker.FreemarkerViewRenderer
Third-party view renderers should implement this interface to inherit the same ordering guarantee.
See Also:
- Since:
- 10.0.0
-
Field Summary
Fields inherited from interface org.apache.juneau.rest.server.processor.ResponseProcessor
FINISHED, NEXT, RESTART -
Method Summary
Methods inherited from interface org.apache.juneau.rest.server.processor.ResponseProcessor
process