Routing Annotations
The previous example used the @Get annotation to add method that accepted HTTP GET requests. The following tables summarizes the available annotations and how they map to the different HTTP methods:
Annotation | HTTP Method |
---|---|
All of the method annotations default to / . |