| 注释类型 | 说明 |
|---|---|
| BodyParam |
Binds the value of a form body parameter to a resource method parameter
|
| Consume |
Identifies the Accept header that the client will consume
|
| DELETE |
Indicates that the annotated method responds to HTTP DELETE requests.
|
| Description |
Binds api to its associated description.
|
| FileParam |
Binds the value of a multipart form body file to a resource method parameter
|
| GET |
Indicates that the annotated method responds to HTTP GET requests.
|
| HEAD |
Indicates that the annotated method responds to HTTP HEAD requests.
|
| HeaderParam |
Binds the value of a header parameter to a resource method parameter
|
| Host |
Identifies the host that the annotated class will start requests for.
|
| HTTPMethod |
Associates the name of a HTTP method with an annotation.
|
| OPTIONS |
Indicates that the annotated method responds to HTTP OPTIONS requests.
|
| PATCH |
Indicates that the annotated method responds to HTTP PATCH requests.
|
| Path |
Identifies the URI path that a resource class or class method will start requests for
|
| PathParam |
Binds the value of a URI template parameter or a path segment
containing the template parameter to a resource method parameter, the path segment should be in the format of
${PathParam}.
|
| POST |
Indicates that the annotated method responds to HTTP POST requests.
|
| Produce |
Identifies the content-type that the request will produce.
|
| PUT |
Indicates that the annotated method responds to HTTP PUT requests.
|
| QueryParam |
Binds the value of a query string parameter to a resource method parameter
|
Copyright © 2016. All rights reserved.