You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ContentNegotiationConfigurer.java
+9-14Lines changed: 9 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -158,28 +158,23 @@ public ContentNegotiationConfigurer ignoreAcceptHeader(boolean ignoreAcceptHeade
158
158
}
159
159
160
160
/**
161
-
* Set the default content type.
162
-
* <p>This content type will be used when neither the request path extension,
163
-
* nor a request parameter, nor the {@code Accept} header could help determine
164
-
* the requested content type.
165
-
* <p>Note that this method achieves the same goal as {@code defaultContentTypeStrategy}, so both
0 commit comments