Class ThymeleafSuppliedConfigurationFactory
java.lang.Object
org.glassfish.jersey.server.mvc.thymeleaf.ThymeleafSuppliedConfigurationFactory
- All Implemented Interfaces:
ThymeleafConfigurationFactory
public class ThymeleafSuppliedConfigurationFactory
extends Object
implements ThymeleafConfigurationFactory
ThymeleafConfigurationFactory that supplies an unchanged
Configuration as passed-in to
the constructor.
Used to support backwards-compatibility in ThymeleafViewProcessor
to wrap directly-configured TemplateEngine
objects instead of the recommended ThymeleafDefaultConfigurationFactory
or a sub-class thereof.- Author:
- Dmytro Dovnar (dimonmc@gmail.com)
-
Constructor Summary
ConstructorsConstructorDescriptionThymeleafSuppliedConfigurationFactory(ThymeleafConfigurationFactory configurationFactory) -
Method Summary
-
Constructor Details
-
ThymeleafSuppliedConfigurationFactory
-
-
Method Details
-
getTemplateEngine
public org.thymeleaf.TemplateEngine getTemplateEngine()- Specified by:
getTemplateEnginein interfaceThymeleafConfigurationFactory
-