@Configuration @ConditionalOnClass(value=javax.servlet.Servlet.class) @ConditionalOnWebApplication public static class VelocityAutoConfiguration.VelocityWebConfiguration extends VelocityAutoConfiguration.VelocityConfiguration
properties| Constructor and Description |
|---|
VelocityWebConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.resource.ResourceUrlEncodingFilter |
resourceUrlEncodingFilter() |
org.springframework.web.servlet.view.velocity.VelocityConfigurer |
velocityConfigurer() |
org.apache.velocity.app.VelocityEngine |
velocityEngine(org.springframework.web.servlet.view.velocity.VelocityConfigurer configurer) |
EmbeddedVelocityViewResolver |
velocityViewResolver() |
applyProperties@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.velocity.VelocityConfig.class) public org.springframework.web.servlet.view.velocity.VelocityConfigurer velocityConfigurer()
@Bean
public org.apache.velocity.app.VelocityEngine velocityEngine(org.springframework.web.servlet.view.velocity.VelocityConfigurer configurer)
throws org.apache.velocity.exception.VelocityException,
IOException
org.apache.velocity.exception.VelocityExceptionIOException@Bean @ConditionalOnMissingBean(name="velocityViewResolver") @ConditionalOnProperty(name="spring.velocity.enabled", matchIfMissing=true) public EmbeddedVelocityViewResolver velocityViewResolver()
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledResourceChain public org.springframework.web.servlet.resource.ResourceUrlEncodingFilter resourceUrlEncodingFilter()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.