android-async-http框架

android-async-http

简介: An asynchronous, callback-based Http client for Android built on top of Apache's  HttpClient  libraries.即在Apache's HttpClient 开源框架(该Apache's HttpClient 框架在eclipse里面不用导入额外的jar包,因为已经自带了)的基础上为android所设计的框架。

Features

  • Make asynchronous HTTP requests, handle responses in anonymous callbacks
  • 异步的HTTP请求,异步的响应回调
  • HTTP requests happen outside the UI thread
  • HTTP请求不在UI线程内,避免了ANR错误
  • Requests use a threadpool to cap concurrent resource usage
  • 通过threadpool实现Request,限制并发资源的使用
  • GET/POST params builder (RequestParams)
  • Multipart file uploads with no additional third party libraries
  • Tiny size overhead to your application, only 19kb for everything
  • Automatic smart request retries optimized for spotty mobile connections
  • Automatic gzip response decoding support for super-fast requests
  • Optional built-in response parsing into JSON (JsonHttpResponseHandler)
  • Optional persistent cookie store, saves cookies into your app's SharedPreferences
  • 可选择性的永久cookie保存,在你的SharedPreferences上保存cookies
可用在get/post提交数据上

Documentation, Features and Examples

Full details and documentation can be found on the project page here:

http://loopj.com/android-async-http/



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值