Skip to content

Introduce common composed annotations for @RequestMapping [SPR-13992] #18565

Closed
@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-13992 and commented

Overview

See #18022.

Deliverables

  1. Introduce @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, & @PatchMapping composed annotations for @RequestMapping
  2. Introduce headers and name attribute in composed @RequestMapping annotations.
    • The team has decided to introduce these common attributes.
  3. Restrict the value, path, consumes, and produces attributes to single String values in composed @RequestMapping annotations. (see Allow a single element to override an array attribute in a meta-annotation [SPR-13972] #18544)
    • The team has decided against this.

Affects: 4.2 GA

Issue Links:

1 votes, 14 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions