|
|
|
|
@ -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); |
|
|
|
|
|