| 枚举 | 说明 |
|---|---|
| RequestBody.type |
| 注释类型 | 说明 |
|---|---|
| Callback |
on request data call method(s)
template
Callback("io.github.kloping.spt.M0")
this method return type must is String
else will call toString
|
| CookieFrom |
Request with cookie from value
The default request for obtaining cookies is GET
|
| DefaultValue |
default value
parameter is null use default value
only use on
ParamName |
| GetPath |
令 方法为 get 方法
|
| Headers |
The annotated type should be
Map K is String and V is String
Because the object will be converted to the head of the request |
| HttpClient |
http 客户端
|
| ParamBody |
将该类内的属性 转为
k=v 的形式作为get参数
|
| ParamName |
将这个参数 以 指定名字 作为
k=v 的参数
k = value
v = o.toString
|
| PostPath |
post 方式请路径
|
| RequestBody |
post 请求时的 请求体
toString
json
|
Copyright © 2022. All rights reserved.