Apache HttpComponents - HttpClient for Android
Differences with the stock version of Apache HttpClient
- Compiled against HttpClient 4.0 APIs.
- Commons Logging replaced with Android Logging.
- Base64 implementation from Commons Codec replaced with Android Base64.
- Android default SSLSocketFactory used by for SSL/TLS connections.
Compatibility notes
- HttpClient port for Android is compiled against the official Android SDK and is expected to be fully compatible with any code consuming HttpClient services through its interface (HttpClient) rather than the default implementation (DefaultHttpClient).
- Code compiled against stock versions of Apache HttpClient 4.3 is not fully compatible with the HttpClient port for Android. Some of the implementation classes had to be copied (or shaded) with different names in order to avoid conflicts with the older versions of the same classes included in the Android runtime. One can increase compatibility of with the stock version of HttpClient by avoiding 'org.apache.http.**.*HC4' classes.
Read full article from Apache HttpComponents - HttpClient for Android
No comments:
Post a Comment