HttpComponents Client for Android 4.3.3 发布,是 HttpComponents Client 4.3.3 GA 的 Google Android 版本,现已提供下载,更多更新信息请看发行说明。以下是一些相关说明:
与 Apache HttpClient 的不同之处: (1) Compiled against HttpClient 4.0 APIs. (2) Commons Logging replaced with Android Logging. (3) Base64 implementation from Commons Codec replaced with Android Base64. (4) Android SSLCertificateSocketFactory used by default for SSL/TLS connections. 兼容性问题: (1) 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). (2) 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 with the stock version of HttpClient by avoiding 'org.apache.http.**.*HC4' classes.
HttpComponents 的详细介绍:请点这里
HttpComponents 的下载地址:请点这里
相关阅读:
HttpClient 4.0的使用详解 http://www.linuxidc.com/Linux/2012-02/55502.htm
Android 如何用HttpClient 以Post方式提交数据并添加http头信息 http://www.linuxidc.com/Linux/2011-09/42772.htm
Android 如何用HttpClient 以Get方式获取数据并添加http头信息 http://www.linuxidc.com/Linux/2011-09/42771.htm
