Class ThymeleafDefaultConfigurationFactory
- java.lang.Object
-
- org.glassfish.jersey.server.mvc.thymeleaf.ThymeleafDefaultConfigurationFactory
-
- All Implemented Interfaces:
ThymeleafConfigurationFactory
public class ThymeleafDefaultConfigurationFactory extends Object implements ThymeleafConfigurationFactory
HandyThymeleafConfigurationFactorythat supplies a minimally configuredTemplateEngineable to render Thymeleaf templates. The recommended method to provide custom Thymeleaf engine settings is to sub-class this class, further customize thesettingsas desired in that class, and then register the sub-class with theThymeleafMvcFeatureTEMPLATE_OBJECT_FACTORY property.- Author:
- Dmytro Dovnar (dimonmc@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description ThymeleafDefaultConfigurationFactory(Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.thymeleaf.TemplateEnginegetTemplateEngine()
-
-
-
Constructor Detail
-
ThymeleafDefaultConfigurationFactory
public ThymeleafDefaultConfigurationFactory(Configuration config)
-
-
Method Detail
-
getTemplateEngine
public org.thymeleaf.TemplateEngine getTemplateEngine()
- Specified by:
getTemplateEnginein interfaceThymeleafConfigurationFactory
-
-