Start building against Spring Framework 6.2.0-M2 snapshots

See gh-36198
This commit is contained in:
Andy Wilkinson
2023-07-03 20:37:25 +01:00
parent 1fa079d9b5
commit 5a9ca67fba
7 changed files with 44 additions and 8 deletions

View File

@@ -131,6 +131,11 @@ public class MockMvcAutoConfiguration {
public void customize(DispatcherServlet dispatcherServlet) {
dispatcherServlet.setDispatchOptionsRequest(this.webMvcProperties.isDispatchOptionsRequest());
dispatcherServlet.setDispatchTraceRequest(this.webMvcProperties.isDispatchTraceRequest());
configureThrowExceptionIfNoHandlerFound(dispatcherServlet);
}
@SuppressWarnings({ "deprecation", "removal" })
private void configureThrowExceptionIfNoHandlerFound(DispatcherServlet dispatcherServlet) {
dispatcherServlet
.setThrowExceptionIfNoHandlerFound(this.webMvcProperties.isThrowExceptionIfNoHandlerFound());
}