当前位置: 代码迷 >> Android >> Android异步HTTP客户端的特性
  详细解决方案

Android异步HTTP客户端的特性

热度:73   发布时间:2016-04-28 05:31:07.0
Android异步HTTP客户端的特点


Features

  • Make asynchronous HTTP requests, handle responses in anonymous callbacks
  • HTTP requests happen outside the UI thread
  • Requests use a threadpool to cap concurrent resource usage
  • GET/POST params builder (RequestParams)
  • Multipart file uploads with no additional third party libraries
  • Tiny size overhead to your application, only 60kb 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
产品特点 

进行异步HTTP请求,处理匿名回调响应 
HTTP请求发生在UI线程以外 
请求使用一个线程池的上限并发的资源使用情况 
GET/ POST PARAMS建设者(RequestParams) 
多方文件上传,无需额外的第三方库 
小规模的系统开销的应用程序,只适用于一切25KB 
对于参差不齐的移动连接优化的智能自动重试的请求 
用于超快速自动请求响应的gzip解码支持 
二进制文件(图像等)下载与BinaryHttpResponseHandler 
内置响应解析成JSON与JsonHttpResponseHandler 
持久cookie存储,节省饼干到您的应用程序的SharedPreferences
  相关解决方案