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 @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.

Reopening to ensure the above is supported.