Move spring.codec properties to spring.http.codecs
Closes gh-44925
This commit is contained in:
@@ -78,7 +78,7 @@ NOTE: If you do not want property defaults to be applied you can set configprop:
|
||||
|
||||
Because you need more information about web requests while developing Spring MVC and Spring WebFlux applications, developer tools suggests you to enable `DEBUG` logging for the `web` logging group.
|
||||
This will give you information about the incoming request, which handler is processing it, the response outcome, and other details.
|
||||
If you wish to log all request details (including potentially sensitive information), you can turn on the configprop:spring.mvc.log-request-details[] or configprop:spring.codec.log-request-details[] configuration properties.
|
||||
If you wish to log all request details (including potentially sensitive information), you can turn on the configprop:spring.mvc.log-request-details[] or configprop:spring.http.codecs.log-request-details[] configuration properties.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ When not configured, the following defaults are used:
|
||||
Spring WebFlux uses the javadoc:org.springframework.http.codec.HttpMessageReader[] and javadoc:org.springframework.http.codec.HttpMessageWriter[] interfaces to convert HTTP requests and responses.
|
||||
They are configured with javadoc:org.springframework.http.codec.CodecConfigurer[] to have sensible defaults by looking at the libraries available in your classpath.
|
||||
|
||||
Spring Boot provides dedicated configuration properties for codecs, `+spring.codec.*+`.
|
||||
Spring Boot provides dedicated configuration properties for codecs, `+spring.http.codecs.*+`.
|
||||
It also applies further customization by using javadoc:org.springframework.boot.web.codec.CodecCustomizer[] instances.
|
||||
For example, `+spring.jackson.*+` configuration keys are applied to the Jackson codec.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user