android-async-http v1.4.4 Release Notes

Release Date: 2013-10-28 // over 10 years ago
  • Complete list of commits included is here https://github.com/loopj/android-async-http/commits/1.4.4
    List of closed issues is here https://github.com/loopj/android-async-http/issues?milestone=1&state=closed

    • Added FileAsyncHttpResponseHandler for direct saving response into File instead of device memory
    • JsonHttpResponseHandler now parsing JSON in separate thread
    • Interface method to allow/deny handling of http redirects
    • Added method to delete previously set header (AsyncHttpClient.java)
    • Not creating new Thread if call initiated outside of UI Thread (broken, fixed in 1.4.5)
    • Support for changing response Charset (default still UTF-8)
    • Allow setting maximum retries count (AsyncHttpClient.java)
    • SimpleMultipartEntity now allows repeated usage (HttpEntity.isRepeatable())
    • Added custom SSLSocketFactory to allow certificate pinning and accepting self-signed or untrusted SSL certificates
    • Callbacks to return HTTP status code and response Headers
    • Added support for unsetting Basic Auth params
    • Added support for non-standard HTTP and HTTPS ports (new constructors of AsyncHttpClient)
    • Allowed to change dynamically allowed content-types for BinaryHttpResponseHandler per-response-handler (was static previously)
    • Added support for setting proxy, optionally with authentication
      • AsyncHttpClient#setProxy(String hostname, int port, String username, String password)
    • Support for passing Maps, Sets and Lists via RequestParams
    • Properly chaining callback methods (onSuccess, onFailure, ...) in descendant order by number of function params
    • Fixed incorrect handling of URLs with spaces after redirect
      • now sanitizes spaces within URL both on-request and on-redirect
    • Added RequestHandle which can be used to cancel and/or check request status
      • Is returned for each call (.post(...), .get(...), .head(...), .put(...), etc..)
    • Added BaseJsonHttpResponseHandler to simplify integration with Jackson JSON, Gson and other JSON parsing libraries
    • Added Sample application to demonstrate functions and usage
    • Enforcing INTERNET permission
    • Support for Gradle buildscript
    • Support for Travis CI (Continuous Integration) testing
    • Dropped support for Eclipse ADT usage (obsolete)
    • Added HTTP HEAD method support
    • Releasing both AAR and JAR (+javadoc and sources) into Maven Central repository
    • Added tons of mising Javadoc for both classes and methods