Apache HttpClient Fluent API

org.apache.httpcomponents : fluent-hc

Apache HttpComponents Client fluent API

[Website] ·
399 usages
· 1.1k stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>fluent-hc</artifactId>
    <version>4.5.13</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the org.apache.httpcomponents:fluent-hc library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.apache.httpcomponents</groupId>
  <artifactId>fluent-hc</artifactId>
  <version>4.5.13</version>
</dependency>
</dependencies>

To install org.apache.httpcomponents:fluent-hc library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.apache.httpcomponents:fluent-hc library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.apache.httpcomponents:fluent-hc:4.5.13'
}

Gradle Kotlin DSL: Add the org.apache.httpcomponents:fluent-hc library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.apache.httpcomponents:fluent-hc:4.5.13")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.apache.httpcomponents:fluent-hc library to your build.sbt file:

libraryDependencies += "org.apache.httpcomponents" % "fluent-hc" % "4.5.13"

4. Add dependency to a Grape project

Grape: Add an annotation org.apache.httpcomponents:fluent-hc library to your groovy script file:

@Grapes(
    @Grab('org.apache.httpcomponents:fluent-hc:4.5.13')
)

Compile Dependencies (1)

Group / Artifact Usage
org.apache.httpcomponents » httpclient 7,382

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (3)

Group / Artifact Usage
org.apache.httpcomponents » httpclient 7,382
junit » junit 63,836
org.mockito » mockito-core 16,223