android-async-http v1.4.5 Release Notes
Release Date: 2014-06-22 // almost 10 years ago-
Complete list of commits included is here https://github.com/loopj/android-async-http/commits/1.4.5
List of closed issues is here https://github.com/loopj/android-async-http/issues?milestone=2&state=closed- Support for circular and relative redirects
- Added support for SAX parsing, see
SaxAsyncHttpResponseHandler
- Fixed Threading issue when used in Service or non-UI Thread context
- Fixed GZIPInputStream issue when running in StrictMode
- Removed unnecessary (ambiguous) callback methods (were deprecated in 1.4.4)
- Added JsonStreamerEntity to allow up streaming JSON data
- Added possibility to modify blacklisted/whitelisted exceptions (see
RetryHandler
) - Using
newCachedThreadPool()
as default ExecutorService in library, with option to change it via main interface - Added
ResponseHandlerInterface
to support completely custom implementations of response handlers - Added
onProgress(int,int)
callback, which is used for upstream progress logging (eg. Progressbar dialogs) - Fixed "division by zero" in default response handler
- Added DataAsyncHttpResponseHandler, which has extra callback method which receives partially received data
- Fixed problem with uploading more than 2 files (changes in SimpleMultipartEntity)
- Fixed problem where on GarbageCollectors activity there was no callback received
- Added warning for cases, where headers overwrite each other (between common headers and per-request headers)
- Safely closing IO streams (both upstream and downstream)
- Fixed PersistentCookieStore issue, where non-persistent cookies were stored and added option to delete stored cookie
- Fixed networkOnMainThreadException when canceling requests (
AsyncHttpClient#cancel(boolean)
) - Removed default User-Agent definition from library
- Fixed handling null URLs in default interface calls
- Allowed to subclass AsyncHttpClient and simply provide custom AsyncHttpRequest object (
AsyncHttpClient#newAsyncHttpRequest
) - Changed project structure to be default Intellij IDEA structure (eg. library/src/main/java)
- Catching UnsupportedEncodingException default Async and Text response handlers
- Added strict Lint checking for both Library and Sample application
- Added example implementations in Sample application
- Requests threading (ThreadPool usage, 6 seconds delay on response)
- Synchronous request (from Activity and IntentService)
- SAX Parsing the response
- Retry request sample
- Handling 302 redirects
- RangeResponse (working with partially received data)
- Basic usage of GET, POST, PUT, DELETE
- JSON response parsing
- GZIP compressed communication
- Binary handler (receives
byte[]
without parsing/converting) - File response handler (saving response directly into given File)
- Self-signed CA sample (how to pin SSL certificate or add custom trust-chain for requests)
- Persistent cookies store (persisting cookies between requests)
- Post multi-part encoded Files (SimpleMultipartEntity)
- Jackson JSON integration