@Configuration @EnableConfigurationProperties(value=HttpProperties.class) @ConditionalOnWebApplication(type=SERVLET) @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(HttpProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.filter.CharacterEncodingFilter |
characterEncodingFilter() |
org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration.LocaleCharsetMappingsCustomizer |
localeCharsetMappingsCustomizer() |
public HttpEncodingAutoConfiguration(HttpProperties properties)
@Bean @ConditionalOnMissingBean public org.springframework.web.filter.CharacterEncodingFilter characterEncodingFilter()
@Bean public org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration.LocaleCharsetMappingsCustomizer localeCharsetMappingsCustomizer()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.