mvc-api
mvc-api copied to clipboard
Adopt HTTP spec
I hope the MVC can introduce a complete set of new APIs that allow developers to write code with only MVC APIs, rather than mixing MVC and REST.
@Controller
@PathParam/@QueryParam/@HeaderParam/@FormParam
@Get/@Post/@Put/@Patch/@Delete
@ControllerAdvice/@ExceptionHandler
If an HTTP spec is introduced in Jakarta EE 12, I hope MVC will incorporate more of its API rather than relying on the REST API. And always ready to switch to HTTP spec.