Apache HttpClient Maven Dependency

This page gives you a quick reference to get Apache HttpClient dependency for Maven or Gradle projects. You can also download the Apache HttpClient jar dependency, the link given at the "Download JAR File" section.
Apache HttpComponents Client.

Apache HttpClient Maven Dependency

Copy below Apache HttpClient maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
<dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpclient</artifactId>
    <version>4.5.10</version>
</dependency>

Apache HttpClient Gradle Dependency

Copy below Apache HttpClient Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.10'

Download JAR File

Check for Latest Release

Reference


Comments