| 注释类型 | 说明 |
|---|---|
| Any |
Indicates that the annotated method responds to HTTP OPTIONS requests
|
| Async |
是否异步处理请求
|
| AttributeParameter |
Request中的属性值
|
| CookieParameter |
Cookie的中的值
|
| Get |
Indicates that the annotated method responds to HTTP GET requests
|
| Head |
Indicates that the annotated method responds to HTTP HEAD requests
|
| HeaderParameter |
请求头的中的值
|
| HttpMethod |
Associates the name of a HTTP method with an annotation.
|
| MappingTo |
控制器映射的地址。
|
| MappingToGroup |
控制器映射的地址。
|
| Options |
Indicates that the annotated method responds to HTTP OPTIONS requests
|
| ParameterGroup |
参数组
|
| PathParameter |
路径中映射的值
|
| Post |
Indicates that the annotated method responds to HTTP POST requests
|
| Produces |
标记在方法上用来设置 response 使用的 ContentType。
|
| Put |
Indicates that the annotated method responds to HTTP PUT requests
|
| QueryParameter |
查询参数
|
| RequestBody |
查询参数Body
|
| RequestParameter |
请求参数
|
| WebParameter |
Copyright © 2020. All rights reserved.