高效android http网络模块

  • u1_138346
    了解作者
  • 543.1KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-21 03:05
    上传日期
高效的android http网络访问公共组件,所有都是开源的
android-async-http-master.zip
内容介绍
Asynchronous Http Client for Android ==================================== [![Build Status](https://travis-ci.org/loopj/android-async-http.png?branch=master)](https://travis-ci.org/loopj/android-async-http) An asynchronous, callback-based Http client for Android built on top of Apache's [HttpClient](http://hc.apache.org/httpcomponents-client-ga/) libraries. Changelog --------- See what is new in version 1.4.5 released on 22th June 2014 https://github.com/loopj/android-async-http/blob/1.4.5/CHANGELOG.md Javadoc ------- Latest Javadoc for 1.4.5 release are available here (also included in Maven repository): http://loopj.com/android-async-http/doc/ 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 Examples -------- For inspiration and testing on device we've provided Sample Application. See individual samples [here on Github](https://github.com/loopj/android-async-http/tree/1.4.5/sample/src/main/java/com/loopj/android/http/sample) To run Sample application, simply clone the repository and run this command, to install it on connected device ```java gradle :sample:installDebug ``` Maven ----- You can now integrate this library in your project via Maven. There are available two kind of builds. **releases, maven central** http://central.maven.org/maven2/com/loopj/android/android-async-http/ ``` Maven URL: http://repo1.maven.org/maven2/ GroupId: com.loopj.android ArtifactId: android-async-http Version: 1.4.5 Packaging: JAR or AAR ``` Gradle: `com.loopj.android:android-async-http:1.4.5` **development snapshots** https://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/android-async-http/ ``` Maven URL: https://oss.sonatype.org/content/repositories/snapshots/ GroupId: com.loopj.android ArtifactId: android-async-http Version: 1.4.6-SNAPSHOT Packaging: JAR or AAR ``` Gradle: `com.loopj.android:android-async-http:1.4.6-SNAPSHOT` Documentation, Features and Examples ------------------------------------ Full details and documentation can be found on the project page here: http://loopj.com/android-async-http/ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/loopj/android-async-http/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
评论
    相关推荐
    • android http源代码
      android http源代码 亲测可用
    • android Http请求
      android Http四种请求方式 包括get post httpClient请求
    • Android 发送http请求
      Android发送http请求,适合初学者,源码可运行
    • Android-Http
      Android http 操作,加异步封装,Android http 操作,加异步封装,Android http 操作,加异步封装,Android http 操作,加异步封装,Android http 操作,加异步封装,Android http 操作,加异步封装
    • android async http 源码
      android async http 源码 很方便加入到你自己的工程 对于理解http很有帮助
    • android http 异步请求
      android http 异步请求 含有源代码,方便查阅!使用简单、可靠!
    • android http get
      android http get
    • android-http
      android-http
    • android http server 服务
      一台android设备分享热点,另一台手机连接热点,访问URL发送用户信息,交由http服务端接收
    • AndroidHttp案例
      AndroidHttp案例,适合初学者的AndroidHttp案例,适合初学者,里面有注释,代码清晰明了,导入项目即可使用,亲测可用。