-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Version 1.4
Noor Dawod edited this page May 13, 2014
·
6 revisions
Introduction
Version 1.4 is built on top of Android stock version of HttpClient, which is Google's fork of HttpClient 3.x. This means that some advanced functions of the protocol (ex. HTTP PATCH
or some AUTH methods such as NTLM
or SPNEGO
) are unavailable due to limitations of the underlying HttpClient implementation.
Versions
Stable, all problems are known: 1.4.4
Unstable, with known limitations and fixes from 1.4.4: 1.4.5-SNAPSHOT (Compiled jar is available from here)
Tracking issues
- Current 1.4.5: https://github.com/loopj/android-async-http/issues?milestone=2&state=open
- Next 1.4.6: https://github.com/loopj/android-async-http/issues?milestone=4&state=open
Features since 1.4.4
- Overpassing self-signed SSL certificates with
MySSLSocketFactory
implementation - Response Handlers
- Receiving response to given
File
usingFileAsyncHttpResponseHandler
- Receiving JSON data, deserialized using Android JSON implementation,
JsonHttpResponseHandler
- Providing custom JSON deserialization library using
BaseJsonHttpResponseHandler
- Providing your own variant of
AsyncHttpResponseHandler
by implementing interfaceResponseHandlerInterface
- Receiving binary data (such as images or encrypted blobs) using
BinaryHttpResponseHandler
- Receiving response to given
Features since 1.4.5
- Response Handlers
- Receiving progress of upload and download (see
ResponseHandlerInterface#sendProgressMessage
) - Processing partially received data using
DataAsyncHttpResponseHandler
- Receiving progress of upload and download (see
- Preemtive HTTP BASIC authentication (see
DataAsyncHttpResponseHandler
) - Correctly processing 301 and 302 redirects (see
MyRedirectHandler
) - Creating JSON objects and streaming them using provided HttpEntity subclass
JsonStreamerEntity
The Android Asynchronous Http Client is released under the Apache License, Version 2.0.
Read the full license here: http://www.apache.org/licenses/LICENSE-2.0