Uses of Interface
io.jstach.jstachio.TemplateInfo
Package
Description
JStachio Core Runtime API.
JStachio Service Provider extension points API.
Contains the exported Dropwizard support
We statically configure all annotated JStache in this package to follow the builtin
dropwizard config.
JMustache extension to JStachio to enable dynamic development of templates.
Spring Boot MVC components using JStachio.
Spring Boot MVC components using JStachio.
Spring Boot WebFlux example Hello endpoint using JStachio.
Spring Boot MVC components using JStachio.
-
Uses of TemplateInfo in io.jstach.jstachio
Modifier and TypeInterfaceDescriptioninterface
Template<T>
A JStachio Template is a renderer that has template meta data.static interface
EXPERIMENTAL support of pre-encoded templates that have the static parts of the template already encoded into bytes. -
Uses of TemplateInfo in io.jstach.jstachio.spi
Modifier and TypeMethodDescriptiondefault @Nullable TemplateInfo
JStachioTemplateFinder.findOrNull
(Class<?> modelType) Finds a template or null if no template is found.default @Nullable TemplateInfo
JStachioTemplateFinder.SimpleTemplateFinder.findOrNull
(Class<?> modelType) JStachioTemplateFinder.findTemplate
(Class<?> modelType) Finds aTemplate
if possible otherwise possibly falling back to aTemplateInfo
based on annotation metadata or some other mechanism.default TemplateInfo
JStachioTemplateFinder.SimpleTemplateFinder.findTemplate
(Class<?> modelType) static TemplateInfo
Templates.findTemplate
(Class<?> modelType, JStachioConfig config) Finds aTemplate
if possible otherwise falling back to aTemplateInfo
based on annotation metadata.static @Nullable TemplateInfo
Templates.findTemplateOrNull
(Class<?> modelType, JStachioConfig config) Finds aTemplate
if possible otherwise falling back to aTemplateInfo
based on annotation metadata.static TemplateInfo
Templates.getInfoByReflection
(Class<?> modelType) Finds template info by accessing JStache annotations through reflective lookup.protected TemplateInfo
Finds the template by model class wrapping any exceptions.Modifier and TypeMethodDescriptionIterable<? extends TemplateInfo>
JStachioTemplateFinder.SimpleTemplateFinder.templates()
Sequence of templates used to find matching template from model.default Iterable<? extends TemplateInfo>
TemplateProvider.GeneratedTemplateProvider.templates()
Modifier and TypeMethodDescriptionJStachioFactory.Builder.add
(TemplateInfo template) Registers an instantiated template.JStachioFilter.filter
(TemplateInfo template, JStachioFilter.FilterChain previous) Advises or filters a previously created filter.protected final JStachioFilter.FilterChain
AbstractJStachio.loadFilter
(Object model, TemplateInfo template) Loads the filter and checks if it can process the model and template.static JStachioFilter.FilterChain
JStachioFilter.FilterChain.of
(JStachioFilter filter, TemplateInfo template) Create the filter chain from the filter and a template by resolving the first filter.static Template<?>
JStachioFilter.FilterChain.toTemplate
(JStachioFilter.FilterChain chain, TemplateInfo templateInfo) Converts the filter chain into a template if it is not already one.static void
Templates.validateEncoding
(TemplateInfo template, Output.EncodedOutput<?> output) A utility method that will check if the templates encoding matches the outputs encoding.Modifier and TypeMethodDescriptionJStachioFactory.Builder.add
(Collection<? extends TemplateInfo> templates) Registers instantiated templates.static JStachioTemplateFinder
JStachioTemplateFinder.of
(Iterable<? extends TemplateInfo> templates, int order) Creates a template finder from an iterable of templates. -
Uses of TemplateInfo in io.jstach.opt.dropwizard
Modifier and TypeInterfaceDescriptioninterface
A mixin for generated templates to create dropwizard views. -
Uses of TemplateInfo in io.jstach.opt.dropwizard.example
-
Uses of TemplateInfo in io.jstach.opt.jmustache
Modifier and TypeMethodDescriptionprotected boolean
JMustacheRenderer.execute
(Object context, Appendable a, TemplateInfo template, boolean broken) Deprecated.protected void
JMustacheRenderer.log
(TemplateInfo template) Deprecated.Log template execution through jmustache -
Uses of TemplateInfo in io.jstach.opt.spring.example.hello
Modifier and TypeClassDescriptionclass
Generated Renderer.class
Generated Renderer. -
Uses of TemplateInfo in io.jstach.opt.spring.example.message
-
Uses of TemplateInfo in io.jstach.opt.spring.webflux.example.hello
-
Uses of TemplateInfo in io.jstach.opt.spring.webflux.example.message