commons-httpclient和org.apache.httpcomponents区别

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xing930408/article/details/85317927

官网说明:http://hc.apache.org/httpclient-3.x/

The Commons HttpClient project is now end of life, and is no longer being developed. It has been replaced by the Apache HttpComponents project in its HttpClient and HttpCore modules, which offer better performance and more flexibility.

-----commons-httpclient   maven坐标----------
<dependency>
    <groupId>commons-httpclient</groupId>
    <artifactId>commons-httpclient</artifactId>
    <version>3.1</version>
</dependency>
-----org.apache.httpcomponents   maven坐标----------
<dependency>
   <groupId>org.apache.httpcomponents</groupId>
   <artifactId>httpclient</artifactId>
   <version>${httpclient.version}</version>
</dependency>

猜你喜欢

转载自blog.csdn.net/xing930408/article/details/85317927