Routing Annotations
The previous example uses the @Get annotation to add a method that accepts HTTP GET requests. The following table summarizes the available annotations and how they map to HTTP methods:
Annotation | HTTP Method |
---|---|
All the method annotations default to / . |