Skip to content

Conversation

tixsys
Copy link
Owner

@tixsys tixsys commented Mar 12, 2013

No description provided.

sweetlilmre and others added 7 commits November 8, 2012 18:01
…ngle base class and to use binary as the base response format

Refactored dependent AsyncHttpResponseHandler.java classes: BinaryHttpResponseHandler.java, JsonHttpResponseHandler.java
Added new ResponseHandler: TextHttpResponseHandler.java
Cleaned up exception handling, added missing exception handling and mofified RetryHandler behavior to be more robust
Moved handler to separate class to avoid leaks in AsyncHttpRequest.java
Added PROGRESS and RETRY messages

Signed-off-by: Peter Edwards <sweetlilmre@gmail.com>
failure case and fixed the messaging to be consistant
updated javadocs
Removed unnecessary buffer copy (should allow for larger downloads and helps to combat VM heap constraints)
Wrapped allocation in OutOfMemory handler, current behaviour will signal the GC and retry. This _sometimes_ works if GC has a change to run
android-async-http#134

Modified Request params to allow multiple params with the same name
based on android-async-http#136

Fixed unhandled exception AsyncHttpRequest
# By Peter Edwards (3) and sweetlilmre (1)
# Via Peter Edwards
* sweetlilmre/master:
  Added FileAsyncHttpResponseHandler based on: android-async-http#134
  Big download fixes: Removed unnecessary buffer copy (should allow for larger downloads and helps to combat VM heap constraints) Wrapped allocation in OutOfMemory handler, current behaviour will signal the GC and retry. This _sometimes_ works if GC has a change to run
  Reworked Json handler to parse json on the download thread in the failure case and fixed the messaging to be consistant updated javadocs
  Refactored AsyncHttpResponseHandler.java code base to facilitate a single base class and to use binary as the base response format Refactored dependent AsyncHttpResponseHandler.java classes: BinaryHttpResponseHandler.java, JsonHttpResponseHandler.java Added new ResponseHandler: TextHttpResponseHandler.java Cleaned up exception handling, added missing exception handling and mofified RetryHandler behavior to be more robust Moved handler to separate class to avoid leaks in AsyncHttpRequest.java Added PROGRESS and RETRY messages

Conflicts:
	src/com/loopj/android/http/AsyncHttpRequest.java
	src/com/loopj/android/http/JsonHttpResponseHandler.java
…58da0eae1aef01

Recent changes at original repo working with refactored response handlers
@tixsys tixsys merged commit a114b3f into tixsys:master Mar 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants