Replies: 1 comment 2 replies
-
In this context, it would be nice to have a Response.notFound() shortcut to substitute Response.status(Status.NOT_FOUND). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Jakarta REST
Response.Status
enum contains just a selected list ofResponse.StatusTypes
.While it is fine to have a list of all official Status codes maintained by the IANA, there is also a list of status codes that are not officially supported by an RFC, but used by the vendors, such as Apache, AWS, Spring, or Ngnix (see for instance wiki).
3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions