| 枚举 | 说明 |
|---|---|
| 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
|
| CookieValue |
The parameter type annotated by this annotation should be
Map.Entry |
| DefaultValue |
default value
parameter is null use default value
only use on
ParamName |
| FileParm |
multipart/form-data
file
被注解的参数应为byte
|
| 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
A field should be specified if the annotation is on the class
Such as io.github.kloping.Example.Map |
| HttpClient |
http 客户端
|
| IgnoreHttpErrors |
忽略http error
|
| ParamBody |
将该类内的属性 转为
k=v 的形式作为get参数
|
| ParamName |
将这个参数 以 指定名字 作为
k=v 的参数
k = value
v = o.toString
|
| PathValue |
path value
|
| PostPath |
post 方式请路径
|
| RequestBody |
post 请求时的 请求体
toString
json
|
| RequestData | |
| RequestPath |
其他 方式请路径
|
Copyright © 2025. All rights reserved.