Class HttpEncodingAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(ServerProperties.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(org.springframework.web.filter.CharacterEncodingFilter.class)
@ConditionalOnProperty(prefix="server.servlet.encoding",
value="enabled",
matchIfMissing=true)
public class HttpEncodingAutoConfiguration
extends Object
Auto-configuration
for configuring the encoding to use
in web applications.- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration.LocaleCharsetMappingsCustomizer
-
Constructor Details
-
HttpEncodingAutoConfiguration
-
-
Method Details
-
characterEncodingFilter
-
localeCharsetMappingsCustomizer
@Bean public org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration.LocaleCharsetMappingsCustomizer localeCharsetMappingsCustomizer()
-