Uses of Class
io.jstach.opt.spring.example.message.MessagePageRenderer
-
Uses of MessagePageRenderer in io.jstach.opt.spring.example.message
Modifier and TypeMethodDescriptionstatic MessagePageRenderer
MessagePageRenderer.of()
Convience static factory that will reuse the same singleton instance.Modifier and TypeMethodDescriptionprotected static <A extends Output.EncodedOutput<E>,
E extends Exception>
voidMessagePageRenderer.encode
(MessagePageRenderer template, MessagePage data, ContextNode context, A unescapedWriter, Formatter formatter, Escaper escaper, Appender appender) Renders to an OutputStream use pre-encoded parts of the template.MessagePageRenderer.render
(MessagePageRenderer template, MessagePage data, ContextNode context, A unescapedWriter, Formatter formatter, Appender escaper, Appender appender) Renders the passed in model.