Uses of Interface
io.jstach.jstachio.Template
Package
Description
JStachio Core Runtime API.
JStachio extended Mustache context support for context stack as well as Map and JSON
tree like models.
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.
JStachio Spring Core Integration
Spring Boot Webmvc starter
Spring Boot MVC application using JStachio.
Spring Boot MVC components using JStachio.
Spring Boot MVC components using JStachio.
Spring Boot MVC application using JStachio.
Spring Boot WebFlux example Hello endpoint using JStachio.
Spring Boot MVC components using JStachio.
-
Uses of Template in io.jstach.jstachio
Modifier and TypeInterfaceDescriptionstatic interface
EXPERIMENTAL support of pre-encoded templates that have the static parts of the template already encoded into bytes.Modifier and TypeMethodDescriptionJStachio.findTemplate
(Object model) Finds a template by model.Template<?>
TemplateModel.template()
Template. -
Uses of Template in io.jstach.jstachio.context
Modifier and TypeMethodDescriptionstatic <T> ContextTemplate<T>
Creates a context template from a regular template if is not already a context template. -
Uses of Template in io.jstach.jstachio.spi
Modifier and TypeMethodDescriptionAbstractJStachio.findTemplate
(Object model) static <T> Template<T>
Templates.getTemplate
(Class<T> clazz) Finds a template by reflection or an exception is thrown.static <T> Template<T>
Templates.getTemplate
(Class<T> modelType, Iterable<Templates.TemplateLoadStrategy> strategies, Iterable<ClassLoader> classLoaders, System.Logger logger) Finds a template by reflection or an exception is thrown.protected abstract <T> @Nullable Template<T>
Templates.TemplateLoadStrategy.load
(Class<T> clazz, ClassLoader classLoader, System.Logger logger) Load the template by this strategy.static Template<?>
JStachioFilter.FilterChain.toTemplate
(JStachioFilter.FilterChain chain, TemplateInfo templateInfo) Converts the filter chain into a template if it is not already one.Modifier and TypeMethodDescriptionTemplates.findTemplates
(ServiceLoader<TemplateProvider> serviceLoader, TemplateConfig templateConfig, Consumer<ServiceConfigurationError> errorHandler) Find templates by the given service loader.TemplateProvider.provideTemplates()
Provides templates with empty config.TemplateProvider.provideTemplates
(TemplateConfig templateConfig) Provides a list of instantiated renderers. -
Uses of Template in io.jstach.opt.dropwizard
Modifier and TypeInterfaceDescriptioninterface
A mixin for generated templates to create dropwizard views. -
Uses of Template in io.jstach.opt.dropwizard.example
-
Uses of Template in io.jstach.opt.spring
ModifierConstructorDescriptionSpringJStachioExtension
(Environment environment, List<Template<?>> templates) Constructor for injection -
Uses of Template in io.jstach.opt.spring.boot.webmvc
Modifier and TypeMethodDescriptionJStachioConfiguration.templatesByServiceLoader
(TemplateConfig templateConfig) Templates found with the service loader -
Uses of Template in io.jstach.opt.spring.example
Modifier and TypeMethodDescriptionTemplateCatalog.provideTemplates
(TemplateConfig templateConfig) -
Uses of Template in io.jstach.opt.spring.example.hello
Modifier and TypeClassDescriptionclass
Generated Renderer.class
Generated Renderer.Modifier and TypeFieldDescriptionfinal Template<HelloModel>
HelloController.view
(Optional) Spring will inject this template as the templates are either component scanned or loaded by the ServiceLoader into Spring's context.ModifierConstructorDescriptionHelloController
(JStachio jstachio, Template<HelloModel> view) Placate JDK 18 Javadoc -
Uses of Template in io.jstach.opt.spring.example.message
-
Uses of Template in io.jstach.opt.spring.webflux.example
Modifier and TypeMethodDescriptionSpringTemplateConfig.jstachioService
(Environment environment, List<Template<?>> templates) Creates a services based on spring objects. -
Uses of Template in io.jstach.opt.spring.webflux.example.hello
-
Uses of Template in io.jstach.opt.spring.webflux.example.message