@Configuration @ConfigurationProperties(prefix="context") public class FreeMarkerConfiguration extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware
| 构造器和说明 |
|---|
FreeMarkerConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
EncodeUrlMethod |
encodeUrlMethod() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
@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 © 2022. All rights reserved.