You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project looks good, and it is very close to what we need in our project.
One thing that is a potential snag is the inability to set a custom SchemeRegistry when creating a new instance of AsyncHttpClient. (Our project must have a custom SocketFactory for https as our QA servers use self signed certificates.) Since the SchemeRegistry can't be set on a HttpClient after creating it, getting a reference to the HttpClient won't help either.
I would suggest adding another constructor to AsyncHttpClient that pass in a, say, HttpClientBuilder that has overridable methods for getting the SchemeRegistry, socketTimeout parameters etc? Then our project could create a specialised version of that class when we create a new AsyncHttpClient, that sets up the ConnectionManager with our desired SchemeRegistry.
The text was updated successfully, but these errors were encountered:
# By Peter Edwards (6) and others
# Via Marek Sebera (2) and others
* 'master' of https://github.com/loopj/android-async-http:
Undid example change for now
Classpath change
Handling delete RequestParams in SyncHttpClient
Throwing malformed URL fixesandroid-async-http#115, Throwing Interrupted exception fixesandroid-async-http#323
Javadoc for AsyncHttpClient
Fixesandroid-async-http#227Fixesandroid-async-http#253
Allow request params of nested map, list, and set
change retry handler to call appropriate method
Fix SyncHttpClient to work with @sweetlilmre refactored code
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
This project looks good, and it is very close to what we need in our project.
One thing that is a potential snag is the inability to set a custom
SchemeRegistry
when creating a new instance ofAsyncHttpClient
. (Our project must have a customSocketFactory
forhttps
as our QA servers use self signed certificates.) Since theSchemeRegistry
can't be set on aHttpClient
after creating it, getting a reference to theHttpClient
won't help either.I would suggest adding another constructor to
AsyncHttpClient
that pass in a, say,HttpClientBuilder
that has overridable methods for getting theSchemeRegistry
, socketTimeout parameters etc? Then our project could create a specialised version of that class when we create a newAsyncHttpClient
, that sets up theConnectionManager
with our desiredSchemeRegistry
.The text was updated successfully, but these errors were encountered: