Spring for Android Reference Manual

Roy Clarkson

1.0.0.RC1

© SpringSource Inc., 2012


Table of Contents

1. Spring for Android Overview
1.1. Introduction
2. Spring for Android 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. RestTemplate Methods
2.3.1. HTTP DELETE
2.3.2. HTTP GET
2.3.3. HTTP HEAD
2.3.4. HTTP OPTIONS
2.3.5. HTTP POST
2.3.6. HTTP PUT
2.4. HTTP Message Conversion
2.4.1. StringHttpMessageConverter
2.4.2. FormHttpMessageConverter
2.4.3. ByteArrayMessageConverter
2.4.4. SimpleXmlHttpMessageConverter
2.4.5. MappingJacksonHttpMessageConverter
2.4.6. GsonHttpMessageConverter
2.4.7. SourceHttpMessageConverter
2.4.8. SyndFeedHttpMessageConverter
2.4.9. RssChannelHttpMessageConverter
2.4.10. AtomFeedHttpMessageConverter
2.5. How to get
2.5.1. Jackson JSON Processor
2.5.2. Google Gson
2.5.3. Simple XML Serializer
2.5.4. Android ROME Feed Reader
2.6. Usage Examples
2.6.1. Basic Usage Example
2.6.2. Using Gzip Compression
2.6.3. Retrieving JSON data via HTTP GET
2.6.4. Retrieving XML data via HTTP GET
2.6.5. Send JSON data via HTTP POST
2.6.6. Retrieve RSS or Atom feed
3. Spring for Android Auth Module
3.1. Introduction
3.2. Overview
3.2.1. SQLite Connection Repository
3.2.2. Encryption
3.3. How to get
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. Spring for Android Core Module
4.1. Introduction
4.2. How to get
5. Spring for Android and Maven
5.1. Introduction
5.2. Example POM
5.3. Maven Commands