SafeDK
Sign upAdd Your SDK

An Asynchronous HTTP Library for Android

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

All requests are made outside of your app’s main UI thread, but any callback logic will be executed on the same thread as the callback was created using Android’s Handler message passing. 

You can also use it in Service or background thread, library will automatically recognize in which context is ran.

Main Features

- Using upstream HttpClient of version 4.3.6 instead of Android provided DefaultHttpClient

- 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

- Streamed JSON uploads with no additional libraries

- Handling circular and relative redirects

- Automatic smart request retries optimized for spotty mobile connections

- Automatic gzip response decoding support for super-fast requests

- Binary protocol communication with BinaryHttpResponseHandler

- Built-in response parsing into JSON with JsonHttpResponseHandler

- Saving response directly into file with FileAsyncHttpResponseHandler

- Persistent cookie store, saves cookies into your app’s SharedPreferences

- Integration with Jackson JSON, Gson or other JSON (de)serializing libraries with BaseJsonHttpResponseHandler

- Support for SAX parser with SaxAsyncHttpResponseHandler

- Support for languages and content encodings, not just UTF-8

SDK for Android

  • Switched library from using org.apache.http to use cz.msebera.android.httpclient, you have to update all your code 
  • Library is from now on using upstream version of HttpClient libraries
  • Achieved API23 Compatibility
  • Added HeadSample into sample application, to verify Head request works as it should 
  • FileAsyncHttpResponseHandler now has constructor with usePoolThread param, which causes callbacks to be fired from ThreadPool instead of main looper

Documentation

Example A

Selected Apps that use this SDK

Qa6fdzy 4sl3ozpuns8yqgmg23tnjiwgp5www6kjq9ghc1x2b3npzmbaxviublz7tbritu40rqejtknq

CBS News

Ycwp6ze0px4geeleh4cu 9s3izrboc6tmsyfgdmplmai5cr8vwjh7upnls zbdz13kqbq0kvut9twyv3

AppTrailers

Od7skywsb3yoyw1o qjeresfry 9on udxy8 mzt5dooikcdmirhld4aax0ej10ojjkts7lioi  bhvo

Covet Fashion - Dress Up Game

Chdcjhcxofod2zvawilzhpsebw oq1ymcnwhxuombvzh6grubpulz yly zpduqpygji059wdeinlqel

Perk Scratch & Win!

8jxrxsbxjxitacg5du9svqecbyy auqf rjrjjunuglh727mc0sbxmtm3h9occeveo1nr  brrlvdgau

Lucktastic - Win Prizes

Vebb1za jtblwc4nnbs7c9kkoa soupnrxvs8sfgrclickqiqvdf3q2 clwoh aio1uz3g5hlnlslvpw

Online Head Ball

Similar SDKs

MORE

Reviews

Rate Now
0
0
0
0
0
0

Start a new discussion about Asynchronous Http Client

×
0
/1000

More from this Developer

Login