Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.

License

NotificationsYou must be signed in to change notification settings

android-async-http/android-async-http

Repository files navigation

Build Status

An asynchronous, callback-based Http client for Android built on top of Apache'sHttpClient libraries.

Changelog

See what is new in version 1.4.11 released on 29th June 2020

https://github.com/android-async-http/android-async-http/blob/1.4.11/CHANGELOG.md

Javadoc

Latest Javadoc for 1.4.11 release are available here (also included in Maven repository):

https://android-async-http.github.io/android-async-http/doc/

Features

  • Makeasynchronous HTTP requests, handle responses inanonymous callbacks
  • HTTP requests happenoutside the UI thread
  • Requests use athreadpool to cap concurrent resource usage
  • GET/POSTparams builder (RequestParams)
  • Multipart file uploads with no additional third party libraries
  • Tiny size overhead to your application, only60kb for everything
  • Automatic smartrequest retries optimized for spotty mobile connections
  • Automaticgzip response decoding support for super-fast requests
  • Optional built-in response parsing intoJSON (JsonHttpResponseHandler)
  • Optionalpersistent cookie store, saves cookies into your app's SharedPreferences
  • Support sni with Conscrypt on older android device (wiki)

Examples

For inspiration and testing on device we've provided Sample Application.
See individual sampleshere on Github
To run Sample application, simply clone the repository and run this command, to install it on connected device

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

https://repo1.maven.org/maven2/com/loopj/android/android-async-http/

Maven URL: https://repo1.maven.org/maven2/GroupId: com.loopj.androidArtifactId: android-async-httpVersion: 1.4.11Packaging: JAR or AAR

Gradle

repositories {  mavenCentral()}dependencies {  implementation'com.loopj.android:android-async-http:1.4.11'}

development snapshotssnapshot might not be published yet

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.androidArtifactId: android-async-httpVersion: 1.4.12-SNAPSHOTPackaging: JAR or AAR

Gradle

repositories {  maven {    url'https://oss.sonatype.org/content/repositories/snapshots/'  }}dependencies {  implementation'com.loopj.android:android-async-http:1.4.11-SNAPSHOT'}

Documentation, Features and Examples

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

https://android-async-http.github.io/android-async-http/

About

An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors76

Languages


[8]ページ先頭

©2009-2025 Movatter.jp