Learn how to write Spring MVC controller unit tests using AssertJ and MockMvcTester introduced in Spring Framework 6.2, replacing the traditional Hamcrest-based approach.
Writing cookies using HttpServletResponse#addCookie and reading them either using HttpServletRequest#getCookies or using Spring annotation @CookieValue.
Annotations for @RequestMapping and HTTP method composed variants: @GetMapping, @PostMapping, @PutMapping, @DeleteMapping and @PatchMapping (Starting Spring 4.3).
Understanding the outcome of RequestMappingHandlerMapping.setUseSuffixPatternMatch(false), and why suffix pattern matching was deprecated and finally removed in Spring Framework 7.
Understanding the effect of RequestMappingHandlerMapping.setUseRegisteredSuffixPatternMatch(true). This option was deprecated in Spring Framework 5.2.4 and removed in Spring Framework 7.0.
How to set a default media type in Spring MVC that is used when none of the enabled ContentNegotiationStrategies can determine the requested content type.