Releases: jpush/jiguang-java-client-common
Releases · jpush/jiguang-java-client-common
修复 Bug
小改动
Change Log
增加 group push 路径
v1.0.6 修复 bug
�更新日志
- NativeHttpClient 释放资源
v1.0.5 Release
更新日志
- 新增 ApacheHttpClient
使用了 Apache 提供的 HttpClient,支持高并发发送请求。测试性能比 NativeHttpClient 以及 NettyHttpClient 好。
用法
...
clientConfig.setConnectionRequestTimeout(5 * 1000);
clientConfig.setSocketTimeout(5 * 1000);
ApacheHttpClient httpClient = new ApacheHttpClient(authCode, proxy, clientConfig);
...
发送请求的方式和之前一样。JPushClient v3.2.17 之后可以设置使用哪个 HttpClient 来发送请求,具体可以参考文档。
Change Log
- Add ApacheHttpClient
Uses Apache's HttpClient, to support highly concurrent requests.
Usage
...
clientConfig.setConnectionRequestTimeout(5 * 1000);
clientConfig.setSocketTimeout(5 * 1000);
ApacheHttpClient httpClient = new ApacheHttpClient(authCode, proxy, clientConfig);
...
The way to send requests is the same to the others, you're able switch HttpCilent to send push requests in JPushClient which's version v3.2.17 or later. Please refer our document.
v1.0.3 Release
Change Log
NettyHttpClient fixed bug: when HttpResponseHandler caught exception, CountDownLatch count down.
v1.0.2 Release
Fix Bug
- HttpResponseHandler 加上 @Sharbale 标签,解决队列发送请求时不能多次添加 Handler 问题。
另外收到 Response 后,增加打印
v1.0.0 Release
New Feature
- 新增 NettyHttpClient,用以解决多线程中请求超时问题
用法:
NettyHttpClient client = new NettyHttpClient(authCode, proxy, ClientConfig.getInstance());
发送请求方式和之前一样,新增异步方式,详细的方式请看 ReadMe。
v1.0.1 Release
修复 bug
在请求完毕后不再关闭 EventLoopGroup,以免下次请求失败。
v0.1.8 Release
fix dependencies
v0.1.6
jiguang-common-0.1.6 [maven-release-plugin] copy for tag jiguang-common-0.1.6