Asynchronous 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.8.7</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.8.7 has 18 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.9.0.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... | 26 |
Log | slf4j-api 1.7.5 The slf4j API | 610 |
Development | guava 11.0.2 Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more. This project is a complete packaging of all the Guava libraries into a single jar. Individual portions of Guava can be used by downloading the ap... | 158 |
Log | logback-classic 1.0.13 logback-classic module | 299 |
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 8.1.1.v20120215 The core jetty server artifact. | 45 |
Jetty | jetty-servlet 8.1.1.v20120215 Jetty Servlet Container | 43 |
Jetty | jetty-servlets 8.1.1.v20120215 Utility Servlets from Jetty | 25 |
Jetty | jetty-security 8.1.1.v20120215 Jetty security infrastructure | 24 |
Servlet | catalina 6.0.29 Tomcat Servlet Engine Core Classes and Standard implementations | 27 |
File | commons-io 2.0.1 Commons-IO contains utility classes, stream implementations, file filters, file comparators and endian classes. | 215 |
Servlet | commons-fileupload 1.2.2 The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications. | 113 |
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.8.7.jar
The following packages are defined in the async-http-client-1.8.7.jar
com.ning.http.client com.ning.http.client.consumers com.ning.http.client.cookie com.ning.http.client.date com.ning.http.client.extra com.ning.http.client.filter com.ning.http.client.generators com.ning.http.client.listenable com.ning.http.client.listener com.ning.http.client.ntlm com.ning.http.client.oauth com.ning.http.client.providers.apache com.ning.http.client.providers.grizzly com.ning.http.client.providers.jdk com.ning.http.client.providers.netty com.ning.http.client.providers.netty.spnego com.ning.http.client.providers.netty.timeout com.ning.http.client.resumable com.ning.http.client.simple com.ning.http.client.webdav com.ning.http.client.websocket 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>Asynchronous Http Client</name> <version>1.8.7</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:AsyncHttpClient/async-http-client.git</connection> <url>https://github.com/AsyncHttpClient/async-http-client</url> <developerConnection>scm:git:git@github.com:AsyncHttpClient/async-http-client.git</developerConnection> </scm> <issueManagement> <system>jira</system> <url>https://issues.sonatype.org/browse/AHC</url> </issueManagement> <mailingLists> <mailingList> <name>asynchttpclient</name> <archive>http://groups.google.com/group/asynchttpclient/topics</archive> <subscribe>http://groups.google.com/group/asynchttpclient/subscribe</subscribe> <unsubscribe>http://groups.google.com/group/asynchttpclient/subscribe</unsubscribe> <post>asynchttpclient@googlegroups.com</post> </mailingList> </mailingLists> <prerequisites> <maven>2.0.9</maven> </prerequisites> <contributors> <contributor> <name>Simone Tripodi</name> <email>simonetripodi@apache.org</email> </contributor> </contributors> <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>io.netty</groupId> <artifactId>netty</artifactId> <version>3.9.0.Final</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.5</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>11.0.2</version> <optional>true</optional> </dependency> <!-- Test dependencies --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.0.13</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>8.1.1.v20120215</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>8.1.1.v20120215</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-websocket</artifactId> <version>8.1.1.v20120215</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlets</artifactId> <version>8.1.1.v20120215</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> <version>8.1.1.v20120215</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> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2.2</version> <scope>test</scope> </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> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.6</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId> <version>1.6</version> </extension> <extension> <groupId>org.kathrynhuxtable.maven.wagon</groupId> <artifactId>wagon-gitsite</artifactId> <version>0.3.1</version> </extension> </extensions> <defaultGoal>install</defaultGoal> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>${source.property}</source> <target>${target.property}</target> <maxmem>1024m</maxmem> <excludes> <exclude>${compiler.exclude}</exclude> </excludes> <testExcludes> <testExclude>${test.compiler.exclude}</testExclude> </testExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire.version}</version> <configuration> <!--<argLine>-Dorg.jboss.netty.tryUnsafe=true</argLine>--> <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> </configuration> </plugin> <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.3.4</version> <extensions>true</extensions> <configuration> <manifestLocation>META-INF</manifestLocation> <instructions> <Bundle-Version>$(replace;$(project.version);-SNAPSHOT;.$(tstamp;yyyyMMdd-HHmm)) </Bundle-Version> <Bundle-Vendor>Sonatype</Bundle-Vendor> <Import-Package> org.jboss.netty.*;resolution:=optional, org.apache.commons.httpclient;resolution:=optional, org.apache.commons.httpclient.*;resolution:=optional, * </Import-Package> <Export-Package> com.ning.http.*;version="$(replace;$(project.version);-SNAPSHOT;"")" </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> <version>1.0-beta-1</version> <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-resources-plugin</artifactId> <version>2.4.3</version> <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> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.1</version> <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-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <configuration> <aggregate>true</aggregate> <source>1.6</source> <encoding>UTF-8</encoding> <maxmemory>1g</maxmemory> <links> <link>http://java.sun.com/javase/6/docs/api/</link> </links> <excludePackageNames>${javadoc.package.exclude}</excludePackageNames> </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> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <configuration> <aggregate>true</aggregate> <source>1.6</source> <encoding>UTF-8</encoding> <maxmemory>1g</maxmemory> <links> <link>http://java.sun.com/javase/6/docs/api/</link> </links> <excludePackageNames>${javadoc.package.exclude}</excludePackageNames> <bootclasspath>${sun.boot.class.path}</bootclasspath> <doclet>com.google.doclava.Doclava</doclet> <useStandardDocletOptions>false</useStandardDocletOptions> <additionalJOption>-J-Xmx1024m</additionalJOption> <docletArtifact> <groupId>com.google.doclava</groupId> <artifactId>doclava</artifactId> <version>1.0.3</version> </docletArtifact> <additionalparam> -hdf project.name "${project.name} ${project.version}" -d ${project.reporting.outputDirectory}/apidocs </additionalparam> </configuration> <reportSets> <reportSet> <id>default</id> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${surefire.version}</version> </plugin> </plugins> </reporting> <profiles> <profile> <id>grizzly</id> <activation> <jdk>[1.6,)</jdk> </activation> <properties> <compiler.exclude>asdfasfd/**</compiler.exclude> <test.compiler.exclude>asdfasdf/**</test.compiler.exclude> <javadoc.package.exclude>asdfasdf</javadoc.package.exclude> <target.property>1.5</target.property> </properties> <dependencies> <dependency> <groupId>org.glassfish.grizzly</groupId> <artifactId>grizzly-websockets</artifactId> <version>2.3.11</version> <optional>true</optional> </dependency> <dependency> <groupId>org.glassfish.grizzly</groupId> <artifactId>grizzly-http-server</artifactId> <version>2.3.11</version> <scope>test</scope> </dependency> </dependencies> </profile> <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> <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> </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> <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>test-output</id> <properties> <surefire.redirectTestOutputToFile>false</surefire.redirectTestOutputToFile> </properties> </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> <site> <id>github</id> <url>gitsite:git@github.com/AsyncHttpClient/async-http-client.git</url> </site> </distributionManagement> <repositories> <repository> <id>maven.java.net</id> <url>https://maven.java.net/content/repositories/releases</url> </repository> </repositories> <properties> <distMgmtSnapshotsUrl>http://oss.sonatype.org/content/repositories/snapshots</distMgmtSnapshotsUrl> <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> <compiler.exclude>com/ning/http/client/providers/grizzly/*.java</compiler.exclude> <test.compiler.exclude>com/ning/http/client/async/grizzly/*.java</test.compiler.exclude> <javadoc.package.exclude>com.ning.http.client.providers.grizzly</javadoc.package.exclude> <source.property>1.5</source.property> <target.property>1.5</target.property> <surefire.version>2.12</surefire.version> </properties> </project>