android-async-http 是 Android 上的一个异步 HTTP 客户端开发包。
主要特性:
- 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 19kb 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