Asynchronous Http Client

com.ning : async-http-client

Async Http Client library purpose is to allow Java applications to easily execute HTTP requests and asynchronously process the HTTP responses.

[Website] ·
232 usages
· 5.8k stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.ning</groupId>
    <artifactId>async-http-client</artifactId>
    <version>1.9.40</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 com.ning:async-http-client library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.ning</groupId>
  <artifactId>async-http-client</artifactId>
  <version>1.9.40</version>
</dependency>
</dependencies>

To install com.ning:async-http-client library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.ning:async-http-client library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.ning:async-http-client:1.9.40'
}

Gradle Kotlin DSL: Add the com.ning:async-http-client library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.ning:async-http-client:1.9.40")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.ning:async-http-client library to your build.sbt file:

libraryDependencies += "com.ning" % "async-http-client" % "1.9.40"

4. Add dependency to a Grape project

Grape: Add an annotation com.ning:async-http-client library to your groovy script file:

@Grapes(
    @Grab('com.ning:async-http-client:1.9.40')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (13)