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.
项目主页:http://hc.apache.org/httpcomponents-client-4.3.x/android-port.html
下载地址:http://hc.apache.org/downloads.cgi
来自:开源中国社区

