Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Blog
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Development Lib
>
Network Development Package
&
Donate
Please sign in before you donate.
Cancel
Sign in
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
Unwatch
Watching
Releases Only
Ignoring
104
Star
758
Fork
182
DtFlys
/
forest
Code
Issues
20
Pull Requests
1
Wiki
Insights
DevOps
Gitee Go
Baidu Efficiency Cloud
Tencent CloudBase
Tencent Cloud Serverless
Jenkins for Gitee
Service
Gitee Pages
JavaDoc
Quality analysis
CodeSafe
Gitee Scan
Don’t show this again
Graphs
Releases
Tags
Commits
Attachments
Preview version
v1.5.0-RC5
482a651
2021-03-02 18:31
v1.5.0-RC5
DtFlys
新增的特性:
feat:
#I39O55:可以从ForestResponse对象获取请求总耗时
修改的问题:
fix:
#I39M2G:LogEnabled注解的logResponseContent在请求失败的情况下无效
代码变更:
add: ForestResponse.requestTime属性
add: ForestResponse.responseTime属性
add: ForestResponse.getTimeAsMillisecond方法
Last committed message:
update: new version 1.5.0-RC5
Preview version
v1.5.0-RC4
7b1ac7d
2021-02-28 20:29
v1.5.0-RC4
DtFlys
修复的问题:
fix:
#I36SJ8:请求不能设置proxy用户名和密码
fix:
#I38KEJ:https的url字符串会自动去掉 :80 端口部分
Last committed message:
update: new version 1.5.0-RC4
Preview version
v1.5.0-RC3
896edc5
2021-02-03 15:57
v1.5.0-RC3
DtFlys
解决的问题:
fix:
#I34X5D:全局配置重试次数,对 [Forest] [Network Error]: Read timed out 错误无效
fix: URL井号(#)后面字符串没有encoding
fix: httpclient后端处理Cookie时产生'Invalid cookie header'的问题
其他代码改动:
refactor: 实现Interceptor接口时,不必强制实现onSuccess方法和onError方法
Last committed message:
update: 1.5.0-RC3
Preview version
v1.5.0-RC2
face949
2021-01-18 15:12
v1.5.0-RC2
DtFlys
新增特性:
feat:
#I2BF4N:支持负数的字符串模板下标引用
feat: @Query, @Body, @Header注解支持defaultValue默认值属性
修复的问题:
fix:
#I29BFM:Fastjson使用JSONField注解的format属性设置日期格式没起效果
代码改动:
refactor: 去掉多余的System.out.println命令行输出
refactor: forest在spring的xml配置部分
add: @Query, @Body, @Header注解的defaultValue属性
add: jsr305依赖
add: ForestRequest.methodReturn方法和ForestRequest.getMethodReturnValue方法
update: 将错误拼写的方法名 handleSyncWicthException 改为 handleSyncWithException
Last committed message:
refactor: forest在spring的xml配置部分
Preview version
1.5.0-RC1
203ec4a
2020-12-14 03:06
v1.5.0-RC1
DtFlys
新增特性:
feat:
#I1QR18:处理Cookie
feat:
#I28MY5:通过@FormBody注解将参数标识为表单格式的请求体
feat:
#I28FWM:@Request、@Get、@Post等请求注解支持增加value属性作为url属性的别名
feat:
#I281O0:可以将Response返回的"true", "false"字符串转换成Boolean返回类型
修复的问题:
fix:
#I28SA1:用httpclient的方式上传文件会不成功,但用okhttp就是成功的
fix:
#I28PL7:遇到一些自定义的Response Content-Type,无法正常读取响应内容
其他变动:
add: ForestCookies类
add: ForestCookie类
add: OnLoadCookie接口
add: OnSaveCookie接口
Last committed message:
update: new version 1.5.0-RC1
Preview version
v1.5.0-BETA9
6b40ad5
2020-12-01 12:54
v1.5.0-BETA9
DtFlys
新增特性
feat:
#I26772:通过@JSONBody注解将参数标识为JSON格式的请求体
feat:
#I26774:通过@XMLBody注解将参数标识为XML格式的请求体
feat:
#I26KO1:@OAuth2注解,以方便实现OAuth2.0验证
feat:
#I27JGF:支持多文件上传
feat: 注解属性别名
feat:
#I27JFM:支持在@Query,@DataFile等注解中使用隐式变量 ${_it} 、 ${_index} 和 ${_key}
修复的问题
fix:
#I277UN:请求响应返回中文内容乱码
fix: HttpClient后端的Response Encoding为空时的问题
fix: 发送JSON参数错误
fix: JAXB转换Map和List报空指针
代码改动
add: ForestRequest.method属性
add: AbstractBodyLifeCycle类
refactor: 将BASE64Encoder和BASE64Decoder替换成Base64.encode和Base64.decode
add: MappingParameter.nameTemplate属性
refactor: 将@Auth2注解移动到com.dtflys.forest.extensions包下
add: OAuth2Token类
add: OAuth2MockServer类
add: @AliasFor注解
style: 将常量改为大写字母
refactor: 将HttpclientResponseHandler类改名为AbstractBackendResponseHandler
add: 测试文件上传用的图片
add: 字符串模板相关类中 hasIterateVariable / isIterateVariable 方法
相关贡献者
侯坤林
Last committed message:
test:
#I27JFM
支持在@Query,@DataFile等注解中使用隐式变量 ${_it} 、 ${_index} 和 ${...
Preview version
v1.5.0-BETA8
92eada8
2020-11-18 17:32
v1.5.0-BETA8
DtFlys
修复的BUG:
fix:
#I25YWK:文件上传时,中文参数乱码
fix: 错误请求参数情况下报空指针
Last committed message:
update: new version 1.5.0-BETA8
Preview version
v1.5.0-BETA7
caad12a
2020-11-13 17:23
v1.4.0-BETA7
DtFlys
修复的问题:
fix:
#I22S6N:参数序列化的过程中可能不会选择配置中定义的数据转换器
fix:
#I22S5Q:在拦截器中重新设置URL,再调用addQuery会出问题
fix:
#I23UF4:@DataVariable修饰的参数会报空指针
fix:
#I24LNB:使用自己创建的ForestConfiguration对象作为全局配置时,发生logHandler为空指针的问题
改动的代码:
add: @HTTPProxy注解,用于正向代理
Last committed message:
test: 日志处理器
Preview version
v1.5.0-BETA5
243ae4a
2020-10-27 13:20
v1.5.0-BETA5
DtFlys
修复的BUG:
fix:
#I22S5Q:在拦截器中重新设置URL,再调用addQuery会出问题
fix:
#I22S6N:参数序列化的过程中可能不会选择配置中定义的数据转换器
fix:
#I22M9K:没传递依赖commons-collection
代码改动:
add: @HTTPProxy注解,用于正向代理,现仅对OkHttp3后端有效
Last committed message:
update: new version 1.5.0-BETA5
Preview version
v1.5.0-BETA4
e7e625c
2020-10-23 14:57
v1.5.0-BETA4
DtFlys
新增特性:
feat:
#I1Z9LE:通过全局配置注册过滤器
feat:
#I1Z9M3:通过全局配置设置数据转换器
feat:
#I22DVD:JSON数据转换器支持全局日期格式换参数配置
修复的BUG:
fix:
#I22CWA:请求设置的Decoder只能接受String类型参数
代码改动:
add: ForestConvertProperties类
add: ForestConverterItemProperties类
add: ForestConfiguration.converts属性
add: ForestConfiguration.filters属性
add: StringUtils.trimBegin方法
add: ContentType.canReadAsBinaryStream方法
refactor: 将数据类型枚举类ForestDataType改造成普通类
refactor: 改造ReflectUtils.convertObjectToMap方法
refactor: 改造JSONConverterSelector类
refactor: 改造数据类型ForestDataType类
refactor: 修改ForestResponse.isSuccess方法的判断逻辑
Last committed message:
update: new version 1.5.0-BETA4
Preview version
v1.5.0-BETA3
8b800bc
2020-10-21 17:40
v1.5.0-BETA3
DtFlys
修复的BUG:
fix:
#I1Z5DG:使用Httpclient后端时,网络错误重试失败后报空指针
fix:
#I1Z5DW:使用Httpclient后端时,请求失败重试没有日志
fix:
#I1Z5GT:请求网络错误,并且没有response的时候,报了404
Last committed message:
test: # I1Z5DG 使用Httpclient后端时,网络错误重试失败后报空指针
Preview version
v1.5.0-BETA2
ab71d80
2020-10-20 16:05
v1.5.0-BETA2
DtFlys
修复的BUG:
fix:
#I1YWS1:拦截器的beforeExecute方法中设置请求方式失败
代码改动:
add: ForestRequest.getRequestLogMessage方法
add: ForestRequest.setRequestLogMessage方法
Last committed message:
update: new version 1.5.0-BETA2
Preview version
v1.5.0-BETA1
e9b21a0
2020-10-19 02:56
v1.5.0-BETA1
DtFlys
添加特性:
feat:
#I1YQN3:LogHandler注解
feat:
#I1Y5Y8:自定义可扩展的请求日志
feat:
#I1YQMJ:JSONQuery注解
feat:
#I1Y6RX:支持URL中的重名Query参数
feat:
#I1YN5J:[需求]通过ForestRequest获取实际发送请求数据内容
修复的BUG:
fix:
#I1YP7J:response中的ContentType解析错误
代码修改内容:
add: OkHttp3LogBodyMessage类
add: LogEnabledLifeCycle类
add: LogConfiguration类
add: LogBodyMessage类
add: HttpclientLogBodyMessage类
add: ForestLogger类
delete: SyncHttpclientRequestSender2类
Last committed message:
update: new version 1.5.0-BETA1
v1.5.0-BETA
7f709fd
2020-10-19 01:31
v1.5.0-BETA
feat: #I1Y5Y8 自定义可扩展的请求日志 feat: JSONQ...
zip
tar.gz
v1.4.12
dd06d19
2020-09-29 19:03
v1.4.12
DtFlys
修改内容:
fix:
#I1WVIE:发送带表单格式数据的POST请求时,表单中有List、数组、Map、嵌套对象时出错
fix:
#I1WXB5:在请求中 keyStore="${keyStore}" 属性无法引用变量
Last committed message:
update: new version
v1.4.11
0f12f5a
2020-09-23 17:38
v1.4.11
DtFlys
修改内容:
feat:
#I1W2W8:使用多级全局变量
fix:
#I1WDTU:@Body("name") 修饰List参数时,变成了字符串,应该是JSON列表
fix:
#I1W0BM:setRequestBody后,request中的data依然会拼接到body中
add: class StringRequestBody
add: class ObjectRequestBody
add: class NameValueRequestBody
add: class ForestRequestBody
Last committed message:
update: maven-javadoc-plugin version = 3.2.0
v1.4.10
b9f038c
2020-09-16 19:31
v1.4.10
DtFlys
fix:
#I1VJ19:在yml文件中配置timeout无效
Last committed message:
update: new version 1.4.10
v1.4.9
a1f7283
2020-09-16 15:35
v1.4.9
DtFlys
修改内容:
fix:
#I1UTM3:使用@Post 定义请求,但是日志里显示的是Get,报错405
fix:
#I1UHUS:请求url中带@符号解析不正确
update: 不建议使用@DataObject注解和@DataParam注解
update: 使用System.currentTimeMillis()代替new Date().getTime()
Last committed message:
update: new version 1.4.9
v1.4.8
67565f3
2020-09-07 16:26
v1.4.8
DtFlys
修复的问题:
fix: GET请求通过data属性传输JSON时出错
fix: 无法动态判定response字符编码的问题
fix: 解决httpcore包的冲突
fix: 无value的query参数请求
fix: 文件字节流转化为字符串时的字符编码问题
fix:
#I1TOJB:1.4.5版本关于get请求接受xml文件为null问题
fix:
#I1U6G4:在Httpclient下,Get请求传Content-Type:appliation/json请求头时报空指针
fix:
#I1TZ58:@DataVariable注解无法获取父类属性
感谢@houkunlin的贡献:
!3:fix: 修复一些特殊的URL请求参数丢失的问题
!4:fix: 修复获取到的中文编码乱码问题
Last committed message:
update: new version 1.4.8
1.4.5
0af9171
2020-09-01 17:47
v1.4.5
DtFlys
修复版本:
fix:
#I1TIIH:拦截器OnError中setResult无效
Last committed message:
update: new version 1.4.5
Download
To prevent Robot download, Please enter the captcha to continue
Cancel
Download
Java
1
https://gitee.com/dt_flys/forest.git
git@gitee.com:dt_flys/forest.git
dt_flys
forest
forest
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
See more results
Share to
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register