-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: taskA general taskA general task
Milestone
Description
About the javadoc for the ContentNegotiationManagerFactoryBean class, appears in the top the following:
Property Setter | Underlying Strategy | Default Setting
setFavorPathExtension(boolean) | Path Extension strategy | On
favorParameter | Parameter strategy | Off
ignoreAcceptHeader | Header strategy | On
defaultContentType | Fixed content strategy | Not set
defaultContentTypeStrategy | ContentNegotiationStrategy | Not set
Where again through the javadoc I can confirm the following:
- The setFavorPathExtension method indicates that by default it is is set to true, same information as the table shown above, in this case On.
- The favorParameter method indicates that by default it is is set to false, same information as the table shown above, in this case Off.
The situation is with the ignoreAcceptHeader method
- The ignoreAcceptHeader method indicates that by default it is is set to false, but this information is not the same information as the table shown above, in this case On.
It is confuse, I am assuming that should be Off instead of On
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: taskA general taskA general task