Uses of Record Class
io.jstach.opt.spring.webflux.example.hello.HelloModel
Package
Description
Spring Boot WebFlux example Hello endpoint using JStachio.
-
Uses of HelloModel in io.jstach.opt.spring.webflux.example.hello
Modifier and TypeMethodDescriptionHelloController.hello()
Here we use JStachio runtime to resolve the renderer (in this case we are calling them Views) via Springs Http Message Converter.Modifier and TypeMethodDescriptionprotected static <A extends Output.EncodedOutput<E>,
E extends Exception>
voidHelloModelView.encode
(HelloModel data, A unescapedWriter, Formatter formatter, Escaper escaper, Appender appender) Renders to an OutputStream use pre-encoded parts of the template.protected static <A extends Output.EncodedOutput<E>,
E extends Exception>
voidHelloModelView.encode
(HelloModelView template, HelloModel data, ContextNode context, A unescapedWriter, Formatter formatter, Escaper escaper, Appender appender) Renders to an OutputStream use pre-encoded parts of the template.HelloModelView.execute
(HelloModel model, A a) HelloModelView.execute
(HelloModel model, A a, Formatter formatter, Escaper escaper) Renders the passed in model.HelloModelView.execute
(HelloModel model, ContextNode context, A a) HelloModelView.execute
(HelloModel model, StringBuilder sb) HelloModelView.render
(HelloModel data, A unescapedWriter, Formatter formatter, Appender escaper, Appender appender) Renders the passed in model.HelloModelView.render
(HelloModelView template, HelloModel data, ContextNode context, A unescapedWriter, Formatter formatter, Appender escaper, Appender appender) Renders the passed in model.<A extends Output.EncodedOutput<E>,
E extends Exception>
AHelloModelView.write
(HelloModel model, A outputStream) <A extends Output.EncodedOutput<E>,
E extends Exception>
AHelloModelView.write
(HelloModel model, ContextNode context, A outputStream)