Overview
As a follow up to #31962 and #32049, we have decided to reject adjacent @RequestMapping and @HttpExchange declarations on a @Controller class or on a @Controller handler method in MVC and WebFlux.
Note, however, that doing so will still allow a @Controller class which implements an interface annotated with @HttpExchange annotations to inherit the @HttpExchange declarations from the interface or optionally override them locally with @HttpExchange or @RequestMapping annotations.
Related Issues
-
31962
-
32049
Comment From: sbrannen
Note, however, that doing so will still allow a
@Controllerclass which implements an interface annotated with@HttpExchangeannotations to inherit the@HttpExchangedeclarations from the interface or optionally override them locally with@HttpExchangeor@RequestMappingannotations.
Reopening to ensure the above is supported.