@Configuration public class ThymeleafConfig extends Object
构造器和说明 |
---|
ThymeleafConfig() |
限定符和类型 | 方法和说明 |
---|---|
at.pollux.thymeleaf.shiro.dialect.ShiroDialect |
shiroDialect()
配置shiro方言
|
org.thymeleaf.TemplateEngine |
templateEngine(org.thymeleaf.templateresolver.ITemplateResolver templateResolver,
at.pollux.thymeleaf.shiro.dialect.ShiroDialect shiroDialect)
模板引擎
|
org.thymeleaf.templateresolver.ITemplateResolver |
templateResolver()
模板解析器
|
org.thymeleaf.spring4.view.ThymeleafViewResolver |
thymeleafViewResolver(org.thymeleaf.TemplateEngine templateEngine) |
@Bean public org.thymeleaf.templateresolver.ITemplateResolver templateResolver() throws IOException
IOException
@Bean public at.pollux.thymeleaf.shiro.dialect.ShiroDialect shiroDialect()
@Bean public org.thymeleaf.TemplateEngine templateEngine(org.thymeleaf.templateresolver.ITemplateResolver templateResolver, at.pollux.thymeleaf.shiro.dialect.ShiroDialect shiroDialect)
templateResolver
- ITemplateResolver@Bean public org.thymeleaf.spring4.view.ThymeleafViewResolver thymeleafViewResolver(org.thymeleaf.TemplateEngine templateEngine)
Copyright © 2019. All rights reserved.