@Configuration public class ThymesheetConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
characterEncoding |
protected boolean |
templateCacheEnabled |
protected String |
templateMode |
| Constructor and Description |
|---|
ThymesheetConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<org.thymeleaf.dialect.IDialect> |
additionalDialects()
To be overridden if you require additional dialects.
|
protected org.thymeleaf.templatemode.ITemplateModeHandler |
getHandler() |
Set<org.thymeleaf.templatemode.ITemplateModeHandler> |
templateModeHandlers() |
ThymeleafTestEngine |
testEngine() |
org.thymeleaf.cache.StandardCacheManager |
thymeleafCacheManager() |
org.thymeleaf.spring3.view.ThymeleafViewResolver |
thymeleafViewResolver() |
org.springframework.web.servlet.view.UrlBasedViewResolver |
urlBasedViewResolver() |
@Value(value="${thymeleaf.template.cache.enabled:true}")
protected boolean templateCacheEnabled
@Value(value="${thymeleaf.template.mode:LEGACYHTML5}")
protected String templateMode
@Value(value="${thymeleaf.template.characterEncoding:UTF-8}")
protected String characterEncoding
@Bean public org.thymeleaf.cache.StandardCacheManager thymeleafCacheManager()
public Set<org.thymeleaf.templatemode.ITemplateModeHandler> templateModeHandlers()
@Bean @DependsOn(value="propertyConfigurer") public org.thymeleaf.spring3.view.ThymeleafViewResolver thymeleafViewResolver()
@Bean public org.springframework.web.servlet.view.UrlBasedViewResolver urlBasedViewResolver()
@Bean @DependsOn(value="propertyConfigurer") public ThymeleafTestEngine testEngine()
protected Set<org.thymeleaf.dialect.IDialect> additionalDialects()
protected org.thymeleaf.templatemode.ITemplateModeHandler getHandler()
Copyright © 2014. All rights reserved.