| Annotation Type | Description |
|---|---|
| Consumes |
Defines the media types that the methods of a resource class can accept.
|
| DELETE |
Indicates that the annotated method responds to HTTP DELETE requests.
|
| GET |
Indicates that the annotated method responds to HTTP GET requests
|
| HEAD |
Indicates that the annotated method responds to HTTP HEAD requests
|
| OPTIONS |
Indicates that the annotated method responds to HTTP OPTIONS requests
|
| Path |
Identifies the URI path that a resource class or class method will serve
requests for.
|
| POST |
Indicates that the annotated method responds to HTTP POST requests
|
| Produces |
Defines the media type(s) that the methods of a resource class can produce.
|
| PUT |
Indicates that the annotated method responds to HTTP PUT requests
|