httpclient依懒包官网下载及httpclient maven依懒包获取

2019-03-22 20:24|来源: 网路

httpclient官网

http://hc.apache.org/


httpclient下载地址

http://hc.apache.org/downloads.cgi


现在最新稳定版为HttpClient 4.5.2


HttpClient 4.4 (GA)

 KEYS  Release Notes  
 

Binary

Source

HttpCore 4.4.1 (GA)

 KEYS  Release Notes  
 

Binary

Source

Recent releases of HttpCore can be found here


HttpAsyncClient 4.0.2 (GA)

 KEYS  Release Notes  
 

Binary

Source


HttpClient for Android 4.3.5 (GA)

 KEYS  
 

Source


HttpAsyncClient 4.1-beta1

 KEYS  Release Notes  
 

Binary

Source

Older releases

Old releases are available from the archives.


HttpClient maven依懒地址

http://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient

<dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpclient</artifactId>
    <version>4.5.2</version>
</dependency>

完整pom.xml 文件的内容如下 :

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                             http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.yiibai.httpclient.httmethods</groupId>
    <artifactId>http-get</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <url>https://memorynotfound.com</url>
    <name>httpclient - ${project.artifactId}</name>

    <dependencies>
        <!-- Apache Commons IO -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.2</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.5.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>


相关问答

更多

写httpclient程序导什么包?

楼主,还有core包的引用 如 org\apache\httpcomponents\httpcore\4.2.1\httpcore-4.2.1.jar

java如何下载和安装org.apache.commons.httpclient的jar包?

去apache官网下。跟着步骤安装就行了。 http://hc.apache.org 这是HttpClient项目的官方网站,自己去找需要的版本。 Java是一种可以撰写跨平台应用软件的面向对象的程序设计语言。Java 技术具有卓越的通用性、高效性、平台移植性和安全性,广泛应用于PC、数据中心、游戏控制台、科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。 Java是由Sun Microsystems公司推出的Java面向对象程序设计语言(以下简称Java语言)和Java平台的总 ...

httpclient是哪个jar包

不知道你具体是要那个包,反正给你个包库,你自己看着下吧。 https://mvnrepository.com/search?q=httpclient 因为你的说法不准确

前辈,我在Python官网下载了Python2.7.8,双击打开Python安装包时,弹出无法打开此安装包要怎么解决?

如果你是要学python,直接下3.7版的;若有必须下python2的理由,请下载最新的2.7.13

HttpClient httpclient = new DefaultHttpClient();需要导入那些jar包。

org.apache.http.client.HttpClient; org.apache.http.impl.client.DefaultHttpClient;HttpClient和DefaultHttpClient是安卓当中的吧!JAVA没这两个类 Android开发原包就有