Browse Source

Polishing

pull/1550/head
Juergen Hoeller 8 years ago
parent
commit
dbc04282e2
  1. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ContentNegotiationConfigurer.java

2
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ContentNegotiationConfigurer.java

@ -226,8 +226,8 @@ public class ContentNegotiationConfigurer { @@ -226,8 +226,8 @@ public class ContentNegotiationConfigurer {
* Set a custom {@link ContentNegotiationStrategy} to use to determine
* the content type to use when no content type is requested.
* <p>By default this is not set.
* @since 4.1.2
* @see #defaultContentType
* @since 4.1.2
*/
public ContentNegotiationConfigurer defaultContentTypeStrategy(ContentNegotiationStrategy defaultStrategy) {
this.factory.setDefaultContentTypeStrategy(defaultStrategy);

Loading…
Cancel
Save