Apache HttpCore

org.apache.httpcomponents : httpcore

Apache HttpComponents Core (blocking I/O)

[Website] ·
2k usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpcore</artifactId>
    <version>4.4.15</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:httpcore library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.apache.httpcomponents</groupId>
  <artifactId>httpcore</artifactId>
  <version>4.4.15</version>
</dependency>
</dependencies>

To install org.apache.httpcomponents:httpcore library use the following command:

mvn install

2. Add dependency to a Gradle project

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

dependencies {
implementation 'org.apache.httpcomponents:httpcore:4.4.15'
}

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

dependencies {
implementation("org.apache.httpcomponents:httpcore:4.4.15")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.apache.httpcomponents:httpcore library to your build.sbt file:

libraryDependencies += "org.apache.httpcomponents" % "httpcore" % "4.4.15"

4. Add dependency to a Grape project

Grape: Add an annotation org.apache.httpcomponents:httpcore library to your groovy script file:

@Grapes(
    @Grab('org.apache.httpcomponents:httpcore:4.4.15')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (3)

Group / Artifact Usage
junit » junit 63,836
org.mockito » mockito-core 16,223
commons-logging » commons-logging 3,770