google api java client

Home
Java Source Code / Java Documentation 2
1.2D
2.3D
3.Ajax
4.Algebra
5.App Engine
6.Aspect
7.Assemble
8.Cache
9.Cassandra
10.Chat
11.Cloud
12.CMS
13.CouchDB
14.Crypt
15.Database
16.Distributed
17.Eclipse
18.Facebook
19.File
20.Forum
21.GAE
22.Game
23.Google tech
24.Graph
25.Graphic
26.GWT
27.Hibernate
28.HTML
29.HTTP
30.Image
31.IntelliJ
32.IRC
33.J2EE
34.J2ME
35.JDBC
36.JPA
37.JSON
38.JSR
39.JUnit
40.JVM
41.Language
42.Linux
43.Math
44.Maven
45.Media
46.Messenger
47.MiddleWare
48.Mobile
49.Mock
50.MongoDB
51.Mp3
52.Music
53.MVC
54.Network
55.OpenID
56.OSGi
57.Parse
58.Persist
59.Petri
60.Phone
61.Physics
62.REST
63.Robot
64.RPC
65.RSS
66.Ruby
67.Script
68.Search
69.Spring
70.SQL
71.SSH
72.Sudoku
73.Swing
74.Tapestry
75.Test
76.Text
77.Torrent
78.Twitter
79.UML
80.UnTagged
81.Utilities
82.Web
83.Wiki
84.XML
Java Source Code / Java Documentation 2 » Google tech » google api java client 
google-api-java-client - Google APIs Client Library for Java
License:Apache License 2.0
URL:http://code.google.com/p/google-api-java-client/
Description:Google APIs Client Library for Java
Package NameComment
com.google.api.client
com.google.api.client.auth Utilities for authentication and authorization.
com.google.api.client.auth.oauth OAuth 1.0 authorization as specified in RFC 5849: The OAuth 1.0 Protocol (see detailed package specification).

There are a few features not supported by this implementation:

  • PLAINTEXT signature algorithm
  • "application/x-www-form-urlencoded" HTTP request body
  • "oauth_*" parameters specified in the HTTP request URL (instead assumes they are specified in the Authorization header)

Before using this library, you may need to set up your application as follows:

  1. For web applications, you may need to first register your application with the authorization server.
com.google.api.client.auth.oauth2 OAuth 2.0 authorization as specified in The OAuth 2.0 Protocol (draft-ietf-oauth-v2-10) (see detailed package specification).

Before using this library, you may need to register your application with the authorization server to receive a client ID and client secret.

Typical steps for the OAuth 2 authorization flow:

  • Redirect end user in the browser to the authorization page using com.google.api.client.auth.oauth2.AuthorizationRequestUrl to grant your application access to their protected data.
  • Process the authorization response using com.google.api.client.auth.oauth2.AuthorizationResponse to parse the authorization code and/or access token.
  • Request an access token, depending on the access grant type:
    • Authorization code: com.google.api.client.auth.oauth2.AccessTokenRequest.AuthorizationCodeGrant
    • Resource Owner Password Credentials: com.google.api.client.auth.oauth2.AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
    • Assertion: com.google.api.client.auth.oauth2.AccessTokenRequest.AssertionGrant
    • Refresh Token: com.google.api.client.auth.oauth2.AccessTokenRequest.RefreshTokenGrant
    • None (e.g.
com.google.api.client.extensions
com.google.api.client.extensions.appengine.http.urlfetch HTTP Transport library for Google API's based on URL Fetch in Google App Engine.
com.google.api.client.googleapis Google API's.
com.google.api.client.googleapis.auth Utilities for Google's authentication methods as described in Getting Started with Account Authorization.
com.google.api.client.googleapis.auth.authsub Google's legacy AuthSub authorization as specified in AuthSub for Web Applications.
com.google.api.client.googleapis.auth.clientlogin Google's legacy ClientLogin authentication method as described in ClientLogin for Installed Applications.
com.google.api.client.googleapis.auth.oauth Google's additions to OAuth 1.0a authorization as specified in Google's OAuth API Reference (see detailed package specification).

Package Specification

Before using this library, you need to set up your application as follows:

  1. For a web application, you should first register your application at the Manage Your Domains page.
com.google.api.client.googleapis.auth.oauth2
com.google.api.client.googleapis.auth.storage Google Storage for Developers has a custom authentication method described in the Authentication section of the Developer's Guide for Google Storage for Developers.
com.google.api.client.googleapis.json Google's JSON support (see detailed package specification).

Package Specification

User-defined Partial JSON data models allow you to defined Plain Old Java Objects (POJO's) to define how the library should parse/serialize JSON.

com.google.api.client.googleapis.xml.atom Utilities for Google's Atom XML implementation (see detailed package specification).

Package Specification

User-defined Partial XML data models allow you to defined Plain Old Java Objects (POJO's) to define how the library should parse/serialize XML.

com.google.api.client.http Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 .
com.google.api.client.http.apache HTTP Transport library for Google API's based on Apache HTTP Client version 4.
com.google.api.client.http.javanet HTTP Transport library for Google API's based on the java.net package.
com.google.api.client.http.json JSON HTTP library based on the pluggable HTTP library.
com.google.api.client.http.xml XML HTTP library based on the pluggable HTTP library.
com.google.api.client.json Utilities for JSON as specified in RFC 4627: The application/json Media Type for JavaScript Object Notation (JSON) and Introducing JSON.
com.google.api.client.json.gson Low-level implementation of the GSON parser library based on the GSON JSON library.
com.google.api.client.json.jackson Low-level implementation of the JSON parser library based on the Jackson JSON library.
com.google.api.client.json.rpc2 JSON-RPC 2.0 as specified in JSON-RPC 2.0 Specification and JSON-RPC over HTTP .
com.google.api.client.testing.http Testing utilities used for writing tests based on this library.
com.google.api.client.util General utilities used throughout this library.
com.google.api.client.util.escape Character escaping utilities.
com.google.api.client.xml Utilities for XML.
com.google.api.client.xml.atom Utilities for Atom XML.
ww___w.___ja_v__a2_s___.__co___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.