Consider adding static notFound() builder method to ResponseEntity [SPR-12070] #16686
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Marcel Overdijk opened SPR-12070 and commented
Since 4.1 RC1 The RepsonseEntity is extended with convenient static builders for e.g. ok(), created(), accepted() and noContent().
Next to that there is also a status(int status) methid to easily create response for other status codes.
In many projects I see quite a 404 not found codes returned.
So adding a notFound() static method would be desirable to add.
Affects: 4.1 RC1
Issue Links:
Referenced from: commits 5862ddc
The text was updated successfully, but these errors were encountered: