Coder Social home page Coder Social logo

android-http's Introduction

android-http

Introduction

The android-http framework was inspired by the Google I/O 2010 - Android REST client application talk that can be found here. The framework is designed to send, receive, process and publish webrequests and their corresponding replies.

Features

  • WebRequest / WebReply API: enables developers to conveniently send web requests and handle their replies concurrently
  • Supports Asynchronous and Synchronous web requests
  • Processor: allows post processing of web replies
  • Several abstract processors that facilitate development of JSON and XML (SOAP) processors
  • Processors that ease every day development (Image processing)
  • In memory (LRU) and file based caching
  • SSL support
  • Automatic selection of web clients based on the Android version running on individual devices
  • Connectivity aware
  • Convenient assisting API:
    • "fire-and-forget" API that enques web requests for later execution when service is not available
    • Ordered-conditional synchronous web request API
  • Bundling and prioritization of non time critical web requests in order to save battery life

Planned

  • REST assister
  • Chaining multiple processors
  • OAuth 2.0
  • Dynamically generated processor ids, deprecate getProcessorId()
  • Automatic cookie handling
  • Parser annotations for data object to create parsers during runtime

License

Apache License, Version 2.0. Please refer to LICENSE and NOTICE for additional information.

Example

Example code illustrating a simple web request can be found in the example/ directory.

Opensource Software used:

android-http's People

Contributors

siyb avatar hoeggi avatar thomaspeklak avatar

Watchers

liuyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.