Module io.jstach.opt.spring.webmvc
Package io.jstach.opt.spring.webmvc
@NonNullByDefault
package io.jstach.opt.spring.webmvc
Spring Web MVC integration
JStachioModelView
is a a
View
implementation that can be returned
directly from Controller
methods (for instance).
This integration is tied to the servlet API and thus will need it as a dependency.-
ClassDescriptionAnother way to use JStachio with Spring MVC is to have models implement Springs
View
interface.User can provide instances in the application context and they will be applied to eachJStachioModelView
instance before rendering.AHandlerInterceptor
that automatically applies allJStachioModelViewConfigurer
instances to views before rendering.