Class ThymeleafDefaultConfigurationFactory
java.lang.Object
org.glassfish.jersey.server.mvc.thymeleaf.ThymeleafDefaultConfigurationFactory
- All Implemented Interfaces:
ThymeleafConfigurationFactory
public class ThymeleafDefaultConfigurationFactory
extends Object
implements ThymeleafConfigurationFactory
Handy
ThymeleafConfigurationFactory that supplies a minimally
configured TemplateEngine able to
render Thymeleaf templates.
The recommended method to provide custom Thymeleaf engine settings is to
sub-class this class, further customize the
settings as desired in that
class, and then register the sub-class with the ThymeleafMvcFeature
TEMPLATE_OBJECT_FACTORY property.- Author:
- Dmytro Dovnar (dimonmc@gmail.com)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThymeleafDefaultConfigurationFactory
-
-
Method Details
-
getTemplateEngine
public org.thymeleaf.TemplateEngine getTemplateEngine()- Specified by:
getTemplateEnginein interfaceThymeleafConfigurationFactory
-