@Configuration @EnableConfigurationProperties(value=FreemarkerProperties.class) public class FreemarkerConfiguration extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware
| 构造器和说明 |
|---|
FreemarkerConfiguration(FreemarkerProperties freemarkerProperties,
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer,
org.springframework.web.servlet.resource.ResourceUrlProvider resourceUrlProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
EncodeUrlMethod |
encodeUrlMethod() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public FreemarkerConfiguration(FreemarkerProperties freemarkerProperties, org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer, org.springframework.web.servlet.resource.ResourceUrlProvider resourceUrlProvider)
@Bean public EncodeUrlMethod encodeUrlMethod()
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext 在接口中 org.springframework.web.context.ServletContextAwareCopyright © 2024. All rights reserved.