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