313 Star 3.4K Fork 730

dromara / forest

 / 详情

通过@XMLBody注解将参数标识为XML格式的请求体

已完成
拥有者
创建于  
2020-11-19 22:08

通过 @XMLBody 注解将参数标识为XML格式的请求体,使用 @XMLBody 注解的同时就可以 省略 contentType = "application/xml"属性设置。

@Post(url = "http://localhost:8080/xml")
String postXmlBody(@XMLBody XmlTestParam testParam);

@Post(url = "http://localhost:${port}/xml")
String postXmlBodyString(@XMLBody String xml);

评论 (1)

公子骏 创建了任务
公子骏 负责人设置为公子骏
公子骏 关联仓库设置为DtFlys/forest
公子骏 添加了
 
feature
标签
公子骏 任务状态待办的 修改为进行中
公子骏 修改了描述
公子骏 修改了描述
公子骏 修改了描述
展开全部操作日志

已实现,实现版本:1.5.0-BETA9

公子骏 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
1216742 dt flys 1594991700
Java
1
https://gitee.com/dromara/forest.git
git@gitee.com:dromara/forest.git
dromara
forest
forest

搜索帮助