Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/android-async-http/android-async-http
An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
https://github.com/android-async-http/android-async-http
android java
Last synced: 10 days ago
JSON representation
An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
- Host: GitHub
- URL: https://github.com/android-async-http/android-async-http
- Owner: android-async-http
- License: apache-2.0
- Created: 2011-02-20T03:25:07.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T14:55:24.000Z (over 1 year ago)
- Last Synced: 2024-07-30T15:18:05.725Z (3 months ago)
- Topics: android, java
- Language: Java
- Homepage: https://github.com/android-async-http/android-async-http#this-project-is-no-longer-maintained-and-is-currently-deprecated-and-insecure-to-use
- Size: 2.92 MB
- Stars: 10,641
- Watchers: 758
- Forks: 4,100
- Open Issues: 119
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- StarryDivineSky - android-async-http/android-async-http
- awesome - android-async-http - This project under develop (java)
- awesome - android-async-http - This project under develop (android)
README
Asynchronous Http Client for Android
====================================
[![Build Status](https://travis-ci.org/android-async-http/android-async-http.png?branch=master)](https://travis-ci.org/android-async-http/android-async-http)An asynchronous, callback-based Http client for Android built on top of Apache's [HttpClient](https://hc.apache.org/httpcomponents-client-ga/) libraries.
Changelog
---------See what is new in version 1.4.11 released on 29th June 2020
https://github.com/android-async-http/android-async-http/blob/1.4.11/CHANGELOG.md
Javadoc
-------Latest Javadoc for 1.4.11 release are available here (also included in Maven repository):
https://android-async-http.github.io/android-async-http/doc/
Features
--------
- Make **asynchronous** HTTP requests, handle responses in **anonymous callbacks**
- HTTP requests happen **outside the UI thread**
- Requests use a **threadpool** to cap concurrent resource usage
- GET/POST **params builder** (RequestParams)
- **Multipart file uploads** with no additional third party libraries
- Tiny size overhead to your application, only **60kb** for everything
- Automatic smart **request retries** optimized for spotty mobile connections
- Automatic **gzip** response decoding support for super-fast requests
- Optional built-in response parsing into **JSON** (JsonHttpResponseHandler)
- Optional **persistent cookie store**, saves cookies into your app's SharedPreferences
- Support sni with Conscrypt on older android device ([wiki](https://github.com/android-async-http/android-async-http/wiki/Support-SNI-on-lower-android-device))Examples
--------For inspiration and testing on device we've provided Sample Application.
See individual samples [here on Github](https://github.com/android-async-http/android-async-http/tree/1.4.11/sample/src/main/java/com/loopj/android/http/sample)
To run Sample application, simply clone the repository and run this command, to install it on connected device```java
gradle :sample:installDebug
```Maven
-----
You can now integrate this library in your project via Maven. There are available two kind of builds.**releases, maven central**
https://repo1.maven.org/maven2/com/loopj/android/android-async-http/
```
Maven URL: https://repo1.maven.org/maven2/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.11
Packaging: JAR or AAR
```
Gradle
```groovy
repositories {
mavenCentral()
}dependencies {
implementation 'com.loopj.android:android-async-http:1.4.11'
}
```**development snapshots**
snapshot might not be published yethttps://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/android-async-http/
```
Maven URL: https://oss.sonatype.org/content/repositories/snapshots/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.12-SNAPSHOT
Packaging: JAR or AAR
```
Gradle
```groovy
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
implementation 'com.loopj.android:android-async-http:1.4.11-SNAPSHOT'
}
```Documentation, Features and Examples
------------------------------------
Full details and documentation can be found on the project page here:https://android-async-http.github.io/android-async-http/