| 注释类型 | 说明 |
|---|---|
| ContentType | |
| Cookies |
Indicates the parameter is a cookies map.
|
| ExpectedCode |
正确的code是什么
默认为 0
接口返回值 code 不统一,有些接口 code 为 0 时表明成功,有些则为 1
因此创建此注解
|
| Form |
indicate a request with Content-Type of application/x-www-form-urlencoded
|
| Headers |
Indicates the parameter is a header map.
|
| HttpApi |
Indicate the interface is a http api interface.
|
| HttpApiScan |
Similar to @ComponentScan in Spring,
the
HttpApiScan.value() specify the base packages the HttpApiConfigurer would scan. |
| HttpReq |
Indicates the http request related information.
|
| Param |
The
Param.value() stand for the key of request param and the annotated parameter represents the according value
value and isBody should not both be empty/false, otherwise the param will be ignored |
| RetryPolicy | |
| UserAgent |
Copyright © 2019. All Rights Reserved.