@Configuration @ConditionalOnMissingBean(name="defaultTemplateResolver") public static class ThymeleafAutoConfiguration.DefaultTemplateResolverConfiguration extends Object implements org.springframework.context.EnvironmentAware
Constructor and Description |
---|
ThymeleafAutoConfiguration.DefaultTemplateResolverConfiguration() |
Modifier and Type | Method and Description |
---|---|
ITemplateResolver |
defaultTemplateResolver() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
static boolean |
templateExists(org.springframework.core.env.Environment environment,
org.springframework.core.io.ResourceLoader resourceLoader,
String view) |
protected SpringResourceResourceResolver |
thymeleafResourceResolver() |
public ThymeleafAutoConfiguration.DefaultTemplateResolverConfiguration()
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
@Bean public ITemplateResolver defaultTemplateResolver()
@Bean protected SpringResourceResourceResolver thymeleafResourceResolver()
public static boolean templateExists(org.springframework.core.env.Environment environment, org.springframework.core.io.ResourceLoader resourceLoader, String view)
Copyright © 2014. All rights reserved.