324 Star 3.7K Fork 793

dromara/forest

 / 详情

支持获取响应原因短语,即响应状态文本

已完成
拥有者
创建于  
2021-09-23 18:00

支持获取响应原因短语,即响应状态文本,如 Response 的状态为:

status: 200 OK

则通过 ForestResponse.getReasonPhrase()可以获取原因短语,即字符串 "OK"

// 获取Forest响应对象
ForestResponse response = ...
// 获取响应原因短语
String phrase = response.getReasonPhrase() // OK

评论 (1)

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

已在 1.5.3 版本实现

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

登录 后才可以发表评论

状态
负责人
里程碑
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

搜索帮助