Skip to content

Consider adding static badRequest() builder method to ResponseEntity [SPR-12112] #16728

@spring-projects-issues

Description

@spring-projects-issues

Marcel Overdijk opened SPR-12112 and commented

Just like adding notFound() via #16686, a badRequest() static method would be useful for ResponseEntity.

ok(), accepted(), created(), noContent(), notFound(), badRequest() are the most used responses I think.


Affects: 4.1 RC2

Issue Links:

Referenced from: commits 439ce4a, dbe337f

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