Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Aug 21, 2014 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 21, 2014

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

@spring-projects-issues
Copy link
Collaborator Author

Rossen Stoyanchev commented

Seems reasonable.

/cc Arjen Poutsma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants