awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
android-async-http avatar

android-async-http/android-async-http

0
View on GitHub↗

Android Async Http

Android Async HTTP is a callback-based HTTP client library for Android, written in Java. It sends network requests on background threads and delivers results to callback handlers, so the user interface thread never blocks while waiting on a server. It is a thin convenience layer over Apache HttpClient and hides that client's verbose setup behind simpler request and response abstractions.

Requests of all common types (GET, POST, PUT, PATCH, DELETE and HEAD) can be built with a parameter builder and sent asynchronously, or run synchronously from existing background threads and services. Specialised response handlers turn replies into text, JSON objects, XML read through a SAX parser, or files. The library also persists cookies on the device so login state survives app restarts, and it supports basic and digest authentication. Each in-flight call is registered under a handle and optional tag, so individual requests, groups or all requests can be cancelled, for example when a screen closes.

Beyond the basics, it covers multipart file uploads using only built-in code, downloads that can resume from a saved position, redirect following, and byte-range requests. Network resilience features include automatic retries tuned for unreliable mobile connections, adjustable timeouts, and a thread pool that caps concurrent requests. Gzip compression and decompression are applied transparently through request interceptors. On the security side, it can trust custom certificate authorities and enable server name indication on older Android versions by plugging in an alternative security provider.

The project is built with Gradle, including a Windows batch launcher. It publishes signed artifacts with source and Javadoc jars to Maven repositories, and it is released under the Apache License 2.0.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
github.com/android-async-http/android-async-http#this-project-is-no-longer-maintained-and-is-currently-deprecated-and-insecure-to-use
↗

Features

  • Android HTTP Networking Libraries - Runs Android HTTP requests on background threads and delivers results to callback handlers so the user interface thread never blocks.
  • Asynchronous Network Callbacks - Runs network requests on background worker threads and delivers results through callback handlers so the interface thread never blocks.
  • Background Thread Networking - Sends network requests on background threads and passes results to callbacks so the screen stays responsive while waiting for the server.
  • REST API Clients - Calls REST services from Android and delivers replies as parsed JSON or XML objects inside response callbacks.
  • HttpClient Wrappers - Wraps Apache HttpClient behind simpler request and response abstractions, hiding its verbose setup from Android developers.
  • HTTP Request Callbacks - Issues GET, POST, PUT, PATCH, DELETE, and HEAD requests asynchronously and reports success, failure, and cancellation through callbacks.
  • Request Retries - Automatically resends failed requests using retry logic tuned for unreliable mobile connections.
  • JSON Response Parsers - Converts server replies into JSON objects or streams and reads XML via a SAX parser inside the response callback.
  • Pluggable Response Parsers - Offers swappable response handler classes that convert raw replies into text, JSON objects, XML through SAX, or files.
  • Multipart File Uploads - Sends files as multipart form uploads using only built-in code, with no extra third-party dependencies.
  • Request Cancellations - Cancels in-flight requests individually by handle, in groups by tag, or all at once when a screen closes.
  • Tag-Based Cancellations - Registers each in-flight request under a handle and optional tag so single requests, groups, or all can be cancelled.
  • Session-Cookie Persistences - Saves server cookies on the device and sends them with later requests so login state survives app restarts.
  • Request Parameter Formatting - Builds query strings and form bodies for GET and POST requests through a parameter builder, avoiding manual joining and encoding.
10,563 stars·4,013 forks·Java·Apache-2.0·0 views

Star history

Star history chart for android-async-http/android-async-httpStar history chart for android-async-http/android-async-http

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does android-async-http/android-async-http do?

Android Async HTTP is a callback-based HTTP client library for Android, written in Java. It sends network requests on background threads and delivers results to callback handlers, so the user interface thread never blocks while waiting on a server. It is a thin convenience layer over Apache HttpClient and hides that client's verbose setup behind simpler request and response abstractions.

What are the main features of android-async-http/android-async-http?

The main features of android-async-http/android-async-http are: Android HTTP Networking Libraries, Asynchronous Network Callbacks, Background Thread Networking, REST API Clients, HttpClient Wrappers, HTTP Request Callbacks, Request Retries, JSON Response Parsers.

Which projects share features with android-async-http/android-async-http?

Projects with overlapping indexed features include: amitshekhariitbhu/fast-android-networking — 🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀. amitshekhariitbhu/androidnetworking — AndroidNetworking is an HTTP networking library for Android that handles the full lifecycle of network communication,… kittinunf/fuel — Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and… hongyangandroid/okhttputils — OkHttpUtils is a convenience wrapper for the OkHttp HTTP client that simplifies common networking operations on… wyouflf/xutils3 — xUtils3 is an integrated Android toolkit that combines HTTP networking, image loading, ORM database queries, and view… loopj/android-async-http — This is an asynchronous HTTP client for Android that simplifies network requests by wrapping Apache HttpClient. It…

Projects sharing features with Android Async Http

These projects share indexed features with Android Async Http. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • amitshekhariitbhu/fast-android-networkingamitshekhariitbhu avatar

    amitshekhariitbhu/Fast-Android-Networking

    5,906View on GitHub↗

    🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀

    Java
    View on GitHub↗5,906
  • amitshekhariitbhu/androidnetworkingamitshekhariitbhu avatar

    amitshekhariitbhu/AndroidNetworking

    5,906View on GitHub↗

    AndroidNetworking is an HTTP networking library for Android that handles the full lifecycle of network communication, from sending requests to parsing responses and caching data. It provides a unified interface for executing GET, POST, PUT, DELETE, HEAD, and PATCH requests, with support for both synchronous and asynchronous execution, and includes built-in JSON response parsing that converts server responses directly into Java objects or lists. The library distinguishes itself through a set of integrated capabilities that go beyond basic request execution. It manages file downloads and upload

    Java
    View on GitHub↗5,906
  • kittinunf/fuelkittinunf avatar

    kittinunf/fuel

    4,643View on GitHub↗

    Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and asynchronous web requests. It functions as a network wrapper that supports executing calls via suspending functions in coroutines, reactive streams, and traditional callbacks. The library features built-in integration for Android LiveData to bind network responses directly to observable state holders for user interface updates. It also includes a JSON serialization client that utilizes customizable mappers to convert raw HTTP response bodies into structured data objects. Capability area

    Kotlinandroidhttp-clientkotlin
    View on GitHub↗4,643
  • hongyangandroid/okhttputilshongyangAndroid avatar

    hongyangAndroid/okhttputils

    6,842View on GitHub↗

    OkHttpUtils is a convenience wrapper for the OkHttp HTTP client that simplifies common networking operations on Android. It provides a straightforward interface for executing GET and POST requests, including sending form parameters and JSON payloads, as well as uploading files via multipart form data and downloading remote files to local storage. The library distinguishes itself through a set of practical utilities built on top of OkHttp's core architecture. It wraps synchronous calls into an asynchronous callback pattern, includes an interceptor-based logging layer for request and response d

    Java
    View on GitHub↗6,842
Compare all 30 related projects→