I wonder if can replace the filter CharacterEncodingFilter by the HttpEncodingProperties.
I saw at documentation below ones:
# HTTP encoding (HttpEncodingProperties)
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
Will it have the same effect that applying the filter manually? Another question, if I want to inform Spring Boot to keep the filter (properties) as async. Via filter I can inform it, setAsyncSupported(true).
Tks,
HttpEncodingProperties, you will findHttpEncodingAutoConfigurationclass where the filter is created by Spring Boot based on those properties.