Module io.jstach.opt.spring.webmvc
This module has support for various Spring web options. Since the integrations are all in one module (jar) most of the dependencies are optional (both maven and module-info) and thus dependencies will not be pulled in transitively. Current supported Spring is version 6.
Config and template finding integration
Seeio.jstach.opt.spring
SpringJStachioExtension
will use Spring Environment
abstraction for config and template finding. You may wire in other extensions such as
JMustache as well instead of relying on the ServiceLoader.
Web integration
Seeio.jstach.opt.spring.web
Notably JStachioHttpMessageConverter
provides a unique way
to do MVC in a type-safe way instead of the normal Map<String,String>
model and
String
view way (ModelAndView). This particularly integration
is not tied to the Servlet API.
Web MVC integration
Seeio.jstach.opt.spring.webmvc
JStachioModelView
allows you to construct
servlet based Spring Views for traditional Web MVC Spring applications.
This integration is tied to the servlet API and thus will need it as
a dependency.
- Author:
- agentgt
-
Packages
-
Modules
ModifierModuleDescriptiontransitiveJStachio Spring integration module: io.jstach:jstachio-spring.ModifierModuleDescriptiontransitiveJStachio compile time annotations: io.jstach:jstachio-annotation.transitiveJStachio Core Runtime API: io.jstach:jstachio.