Reject @RequestMapping
and @HttpExchange
declarations on the same element
#32065
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
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
@PostMapping
,@GetMapping
, etc. annotations are declared #31962@HttpExchange
declarations on the same element #32049The text was updated successfully, but these errors were encountered: