Skip to content

Commit 1b21a6c

Browse files
author
崔成龙
committed
本次升级内容有:
1. 添加多文件上传功能及测试类(HttpAsyncClientUtil暂不支持); 2. 添加请求重试机制(如果请求是幂等的,就再次尝试)。 3. 优化本地验证码图片上传识别优化本地验证码图片上传识别(旧方式改名为OldOCR); 4. 优化http连接池使用策略,添加http连接池性能测试类
1 parent 9ce0591 commit 1b21a6c

File tree

9 files changed

+1560
-1272
lines changed

9 files changed

+1560
-1272
lines changed

pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.tgb.ccl.http</groupId>
55
<artifactId>httpclientUtil</artifactId>
6-
<version>2.1.0-beta</version>
6+
<version>2.2.0-beta</version>
77
<description>基于HttpClient-4.4.1、HttpAsyncClient-4.1封装的工具类。支持插件式配置Header、插件式配置httpclient对象,这样就可以方便地自定义header信息、配置ssl、配置proxy、Cookie等</description>
88

99
<properties>
@@ -12,13 +12,19 @@
1212
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1313
<!-- 编译时的编码 -->
1414
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
15+
<httpclient.version>4.4.1</httpclient.version>
1516
</properties>
1617

1718
<dependencies>
1819
<dependency>
1920
<groupId>org.apache.httpcomponents</groupId>
2021
<artifactId>httpclient</artifactId>
21-
<version>4.4.1</version>
22+
<version>${httpclient.version}</version>
23+
</dependency>
24+
<dependency>
25+
<groupId>org.apache.httpcomponents</groupId>
26+
<artifactId>httpmime</artifactId>
27+
<version>${httpclient.version}</version>
2228
</dependency>
2329
<dependency>
2430
<groupId>org.apache.httpcomponents</groupId>

0 commit comments

Comments
 (0)