您的位置:首页 > 理论基础 > 计算机网络

Android异步HTTP客户端的特点

2014-05-22 21:57 106 查看



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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: