@Configuration @EnableConfigurationProperties(value=HttpEncodingProperties.class) @ConditionalOnClass(value=org.springframework.web.filter.CharacterEncodingFilter.class) @ConditionalOnProperty(prefix="spring.http.encoding", value="enabled", matchIfMissing=true) public class HttpEncodingAutoConfiguration extends Object
Auto-configuration
for configuring the encoding to use
in web applications.Constructor and Description |
---|
HttpEncodingAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
CharacterEncodingFilter |
characterEncodingFilter() |
@Bean @ConditionalOnMissingBean(value=org.springframework.web.filter.CharacterEncodingFilter.class) public CharacterEncodingFilter characterEncodingFilter()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.