Skip to content

Releases: jpush/jiguang-java-client-common

修复 Bug

24 Jul 05:33
Compare
Choose a tag to compare

Change Log

小改动

05 Jul 09:20
Compare
Choose a tag to compare

Change Log

增加 group push 路径

v1.0.6 修复 bug

16 May 03:29
Compare
Choose a tag to compare

�更新日志

  • NativeHttpClient 释放资源

v1.0.5 Release

27 Mar 09:35
Compare
Choose a tag to compare

更新日志

  • 新增 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

20 Feb 08:39
Compare
Choose a tag to compare

Change Log

NettyHttpClient fixed bug: when HttpResponseHandler caught exception, CountDownLatch count down.

v1.0.2 Release

05 Jan 10:03
Compare
Choose a tag to compare

Fix Bug

  • HttpResponseHandler 加上 @Sharbale 标签,解决队列发送请求时不能多次添加 Handler 问题。

另外收到 Response 后,增加打印

v1.0.0 Release

26 Dec 02:31
Compare
Choose a tag to compare

New Feature

  • 新增 NettyHttpClient,用以解决多线程中请求超时问题

用法:

NettyHttpClient client = new NettyHttpClient(authCode, proxy, ClientConfig.getInstance());

发送请求方式和之前一样,新增异步方式,详细的方式请看 ReadMe。

v1.0.1 Release

26 Dec 07:47
Compare
Choose a tag to compare

修复 bug

在请求完毕后不再关闭 EventLoopGroup,以免下次请求失败。

v0.1.8 Release

30 Nov 01:53
Compare
Choose a tag to compare

fix dependencies

v0.1.6

22 Nov 09:12
Compare
Choose a tag to compare
jiguang-common-0.1.6

[maven-release-plugin]  copy for tag jiguang-common-0.1.6