async-http-client.
Async Http Client library purpose is to allow Java applications to easily execute HTTP requests and asynchronously process the HTTP responses..
Here is the list of declaration for async-http-client. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.ning</groupId> <artifactId>async-http-client</artifactId> <version>1.5.0</version> </dependency>
If you think this Maven repository POM file listing for async-http-client is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.html.
The async-http-client-1.5.0 has 14 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Network | netty 3.2.3.Final The Netty project is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enab... | 19 |
Log | slf4j-api 1.6.1 The slf4j API | 621 |
JUnit | testng 5.8 TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use. | 72 |
Jetty | jetty-server 7.1.4.v20100610 The core jetty server artifact. | 7 |
Jetty | jetty-servlet 7.1.4.v20100610 Jetty Servlet Container | 7 |
Jetty | jetty-security 7.1.4.v20100610 Jetty security infrastructure | 7 |
Servlet | catalina 6.0.29 Tomcat Servlet Engine Core Classes and Standard implementations | 27 |
Http | commons-httpclient 3.1 The HttpClient component supports the client-side of RFC 1945 (HTTP/1.0) and RFC 2616 (HTTP/1.1) , several related specifications (RFC 2109 (Cookies) , RFC 2617 (HTTP Authentication) , etc.), and provides a framework by which new request types (methods) or HTTP extensions can be created easily. | 430 |
Data Structure | commons-lang 2.4 Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang. | 630 |
Log | commons-logging 1.1.1 Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. | 1143 |
The following plugins are used in the async-http-client-1.5.0.jar
The following packages are defined in the async-http-client-1.5.0.jar
com.ning.http.client com.ning.http.client.consumers com.ning.http.client.extra com.ning.http.client.filter com.ning.http.client.generators com.ning.http.client.listener com.ning.http.client.oauth com.ning.http.client.providers.apache com.ning.http.client.providers.jdk com.ning.http.client.providers.netty com.ning.http.client.resumable com.ning.http.client.simple com.ning.http.client.webdav com.ning.http.multipart com.ning.http.util
Here is the content of the POM file.
<?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"> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>5</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.ning</groupId> <artifactId>async-http-client</artifactId> <name>async-http-client</name> <version>1.5.0</version> <packaging>jar</packaging> <description> Async Http Client library purpose is to allow Java applications to easily execute HTTP requests and asynchronously process the HTTP responses. </description> <url>http://github.com/AsyncHttpClient/async-http-client</url> <scm> <connection>scm:git:git@github.com:AsynHttpClient/async-http-client.git</connection> <url>scm:git:git@github.com:AsyncHttpClient/async-http-client.git</url> <developerConnection>scm:git:git@github.com:AsyncHttpClient/async-http-client.git</developerConnection> </scm> <prerequisites> <maven>2.0.9</maven> </prerequisites> <licenses> <license> <name>Apache License 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <dependencies> <dependency> <groupId>org.jboss.netty</groupId> <artifactId>netty</artifactId> <version>3.2.3.Final</version> <exclusions> <exclusion> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.1</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>0.9.26</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.13</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>5.8</version> <scope>test</scope> <classifier>jdk15</classifier> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>7.1.4.v20100610</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>7.1.4.v20100610</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlets</artifactId> <version>7.1.4.v20100610</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> <version>7.1.4.v20100610</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>coyote</artifactId> <version>6.0.29</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>catalina</artifactId> <version>6.0.29</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>servlet-api</artifactId> <groupId>org.apache.tomcat</groupId> </exclusion> </exclusions> </dependency> <!-- Optional Apache Http Client --> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> <optional>true</optional> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.4</version> <optional>true</optional> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> <optional>true</optional> </dependency> </dependencies> <build> <extensions> <!-- Enabling the use of SSH --> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh-external</artifactId> <version>1.0-beta-6</version> </extension> </extensions> <defaultGoal>install</defaultGoal> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.6</version> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java15</artifactId> <version>1.0</version> </signature> </configuration> <executions> <execution> <id>check-java-1.5-compat</id> <phase>process-classes</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.0.1</version> <extensions>true</extensions> <configuration> <manifestLocation>META-INF</manifestLocation> <instructions> <Bundle-Vendor>Sonatype</Bundle-Vendor> <Import-Package> org.jboss.netty.*;resolution:=optional, org.apache.commons.httpclient;resolution:=optional, org.apache.commons.httpclient.*;resolution:=optional, org.apache.log4j;resolution:=optional, org.slf4j;resolution:=optional, * </Import-Package> <Export-Package> com.ning.http.*;version="1.3.4" </Export-Package> </instructions> </configuration> <executions> <execution> <id>osgi-bundle</id> <phase>package</phase> <goals> <goal>bundle</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-versions</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>2.0.9</version> </requireMavenVersion> <requireJavaVersion> <version>1.5</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> <encoding>UTF-8</encoding> <maxmem>1024m</maxmem> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <source>1.6</source> <encoding>UTF-8</encoding> <maxmemory>1g</maxmemory> </configuration> <executions> <execution> <id>attach-javadocs</id> <phase>verify</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <shadedClassifierName>shaded</shadedClassifierName> <artifactSet> <excludes> <exclude>commons-codec:commons-codec</exclude> <exclude>commons-lang:commons-lang</exclude> <exclude>commons-logging:commons-logging</exclude> <exclude>junit:junit</exclude> <exclude>log4j:log4j</exclude> <exclude>commons-httpclient:commons-httpclient</exclude> </excludes> </artifactSet> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" /> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>offline-testing</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <groups>standalone</groups> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>online-testing</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <groups>standalone, online</groups> </configuration> </plugin> </plugins> </build> </profile> </profiles> <distributionManagement> <repository> <id>sonatype-nexus-staging</id> <name>Sonatype Release</name> <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>sonatype-nexus-snapshots</name> <url>${distMgmtSnapshotsUrl}</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>repository.jboss.org</id> <url>https://repository.jboss.org/nexus/content/groups/public/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <properties> <distMgmtSnapshotsUrl>http://oss.sonatype.org/content/repositories/snapshots</distMgmtSnapshotsUrl> </properties> </project>