Spring for Android Reference Documentation

Authors

Roy Clarkson

1.0.1.RELEASE

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.


Table of Contents

1. Spring for Android Overview
1.1. Introduction
2. RestTemplate Module
2.1. Introduction
2.2. Overview
2.2.1. HTTP Client
2.2.2. Gzip Compression
2.2.3. Object to JSON Marshaling
2.2.4. Object to XML Marshaling
2.2.5. RSS and Atom Support
2.3. How to get
2.3.1. Standard Installation
2.3.2. Maven Dependencies
2.4. RestTemplate Constructors
2.5. RestTemplate Methods
2.5.1. HTTP DELETE
2.5.2. HTTP GET
2.5.3. HTTP HEAD
2.5.4. HTTP OPTIONS
2.5.5. HTTP POST
2.5.6. HTTP PUT
2.6. HTTP Message Conversion
2.6.1. Default Message Converters
2.6.2. Available Message Converters
ByteArrayHttpMessageConverter
FormHttpMessageConverter
XmlAwareFormHttpMessageConverter
ResourceHttpMessageConverter
SourceHttpMessageConverter
StringHttpMessageConverter
SimpleXmlHttpMessageConverter
MappingJackson2HttpMessageConverter
GsonHttpMessageConverter
SyndFeedHttpMessageConverter
RssChannelHttpMessageConverter
AtomFeedHttpMessageConverter
2.7. Usage Examples
2.7.1. Basic Usage Example
2.7.2. Using Gzip Compression
2.7.3. Retrieving JSON data via HTTP GET
2.7.4. Retrieving XML data via HTTP GET
2.7.5. Send JSON data via HTTP POST
2.7.6. Retrieve RSS or Atom feed
2.7.7. HTTP Basic Authentication
3. Auth Module
3.1. Introduction
3.2. Overview
3.2.1. SQLite Connection Repository
3.2.2. Encryption
3.3. How to get
3.3.1. Standard Installation
3.3.2. Maven Dependencies
3.4. Usage Examples
3.4.1. Initializing the SQLite Database
3.4.2. Single User App Environment
3.4.3. Encrypting OAuth Data
3.4.4. Establishing an OAuth 1.0a connection
3.4.5. Establishing an OAuth 2.0 connection
4. Core Module
4.1. Introduction
4.2. How to get
5. Maven Dependency Management
5.1. Introduction
5.2. SpringSource Repository
5.3. Example POM
5.4. Maven Commands