Skip to content

allow ResponseStatus on Controller class [SPR-13547] #18123

@spring-projects-issues

Description

@spring-projects-issues

Christopher Smith opened SPR-13547 and commented

I'm collecting our obsolete-and-redirected URLs into a single controller, and it would be convenient to be able to specify @ResponseStatus(MOVED_PERMANENTLY) on the class rather than on every method, as mappings and @ResponseBody can be.


Affects: 4.2.1

Referenced from: commits 73a7943

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