-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
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:
- Provide builders for HttpEntity and ResponseEntity [SPR-11752] #16374 Provide builders for HttpEntity and ResponseEntity
- Consider adding static notFound() builder method to ResponseEntity [SPR-12070] #16686 Consider adding static notFound() builder method to ResponseEntity
- Please add static unprocessableEntity() builder method to ResponseEntity [SPR-12515] #17120 Please add static unprocessableEntity() builder method to ResponseEntity
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement