mvc-api icon indicating copy to clipboard operation
mvc-api copied to clipboard

Adopt HTTP spec

Open hantsy opened this issue 7 months ago • 0 comments

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.

hantsy avatar Aug 02 '25 01:08 hantsy