diff --git a/.hgignore b/.hgignore
deleted file mode 100644
index 88774422..00000000
--- a/.hgignore
+++ /dev/null
@@ -1,6 +0,0 @@
-
-syntax: regexp
-^(.*/)?target$
-
-syntax: regexp
-^(.*/)?bin$
diff --git a/APIs.md b/APIs.md
new file mode 100644
index 00000000..c480d215
--- /dev/null
+++ b/APIs.md
@@ -0,0 +1,437 @@
+**This content has moved to https://developers.google.com/api-client-library/java/apis/**
+
+| [Browse All Samples](http://code.google.com/p/google-api-java-client/source/browse?repo=samples) | [Request a New Sample](http://code.google.com/p/google-api-java-client/issues/entry?template=Request%20a%20Sample) |
+|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Click on the Google API to download the client library and samples:
+
+
+
+
+---
+
+#  APIs Discovery Service #
+**Description:** Lets you discover information about other Google APIs, such as what APIs are available, the resource and method details for each API.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#APIs_Discovery_Service
+
+
+---
+
+#  Ad Exchange Buyer API #
+**Description:** Lets you manage your Ad Exchange Buyer account.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Ad_Exchange_Buyer_API
+
+
+---
+
+#  Ad Exchange Seller API #
+**Description:** Gives Ad Exchange seller users access to their inventory and the ability to generate reports
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Ad_Exchange_Seller_API
+
+
+---
+
+#  AdSense Host API #
+**Description:** Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#AdSense_Host_API
+
+
+---
+
+#  AdSense Management API #
+**Description:** Gives AdSense publishers access to their inventory and the ability to generate reports
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#AdSense_Management_API
+
+
+---
+
+#  Admin Reports API #
+**Description:** Allows the administrators of Google Apps customers to fetch reports about the usage, collaboration, security and risk for their users.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Admin_Reports_API
+
+
+---
+
+#  BigQuery API #
+**Description:** A data platform for customers to create, manage, share and query data.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#BigQuery_API
+
+
+---
+
+#  Blogger API #
+**Description:** API for access to the data within Blogger.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Blogger_API
+
+
+---
+
+#  Books API #
+**Description:** Lets you search for books and manage your Google Books library.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Books_API
+
+
+---
+
+#  Calendar API #
+**Description:** Lets you manipulate events and other calendar data.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Calendar_API
+
+
+---
+
+#  Cloud SQL Administration API #
+**Description:** API for Cloud SQL database instance management.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Cloud_SQL_Administration_API
+
+
+---
+
+#  Cloud Storage API #
+**Description:** Lets you store and retrieve potentially-large, immutable data objects.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Cloud_Storage_API
+
+
+---
+
+#  Compute Engine API #
+**Description:** API for the Google Compute Engine service.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Compute_Engine_API
+
+
+---
+
+#  CustomSearch API #
+**Description:** Lets you search over a website or collection of websites
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#CustomSearch_API
+
+
+---
+
+#  DFA Reporting API #
+**Description:** Lets you create, run and download reports.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#DFA_Reporting_API
+
+
+---
+
+#  DoubleClick Bid Manager API #
+**Description:** API for viewing and managing your reports in DoubleClick Bid Manager.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#DoubleClick_Bid_Manager_API
+
+
+---
+
+#  Drive API #
+**Description:** The API to interact with Drive.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Drive_API
+
+
+---
+
+#  Enterprise Apps Reseller API #
+**Description:** Lets you create and manage your customers and their subscriptions.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Enterprise_Apps_Reseller_API
+
+
+---
+
+#  Enterprise Audit API #
+**Description:** Lets you access user activities in your enterprise made through various applications.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Enterprise_Audit_API
+
+
+---
+
+#  Enterprise License Manager API #
+**Description:** Licensing API to view and manage license for your domain.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Enterprise_License_Manager_API
+
+
+---
+
+#  External API For Ads DoubleClick Search #
+**Description:** Let's you create and list campaigns, ad groups, and criterion in Ads DoubleClick Search.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#External_API_For_Ads_DoubleClick_Search
+
+
+---
+
+#  Freebase API #
+**Description:** Topic and MQL APIs provide you structured access to Freebase data.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Freebase_API
+
+
+---
+
+#  Fusion Tables API #
+**Description:** API for working with Fusion Tables data.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Fusion_Tables_API
+
+
+---
+
+#  Google Affiliate Network API #
+**Description:** Lets you have programmatic access to your Google Affiliate Network data.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Affiliate_Network_API
+
+
+---
+
+#  Google Analytics API #
+**Description:** View and manage your Google Analytics data
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Analytics_API
+
+
+---
+
+#  Google App State API #
+**Description:** The Google App State API.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_App_State_API
+
+
+---
+
+#  Google Civic Information API #
+**Description:** An API for accessing civic information.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Civic_Information_API
+
+
+---
+
+#  Google Cloud Datastore API #
+**Description:** API for accessing Google Cloud Datastore.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Cloud_Datastore_API
+
+
+---
+
+#  Google Fonts Developer API #
+**Description:** The Google Fonts Developer API.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Fonts_Developer_API
+
+
+---
+
+#  Google Identity Toolkit API #
+**Description:** Help the third party sites to implement federated login.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Identity_Toolkit_API
+
+
+---
+
+#  Google Maps Coordinate API #
+**Description:** Lets you view and manage jobs in a Coordinate team.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Maps_Coordinate_API
+
+
+---
+
+#  Google Mirror API #
+**Description:** API for interacting with Glass users via the timeline.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Mirror_API
+
+
+---
+
+#  Google OAuth2 API #
+**Description:** Lets you access OAuth2 protocol related APIs.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_OAuth2_API
+
+
+---
+
+#  Google Play Android Developer API #
+**Description:** Lets Android application developers access their Google Play accounts.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Play_Android_Developer_API
+
+
+---
+
+#  Google Play Game Services API #
+**Description:** The API for Google Play Game Services.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Play_Game_Services_API
+
+
+---
+
+#  Google Play Game Services Management API #
+**Description:** The Management API for Google Play Game Services.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Play_Game_Services_Management_API
+
+
+---
+
+#  Google Site Verification API #
+**Description:** Lets you programatically verify ownership of websites or domains with Google.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google_Site_Verification_API
+
+
+---
+
+#  Google+ API #
+**Description:** The Google+ API enables developers to build on top of the Google+ platform.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google+_API
+
+
+---
+
+#  Google+ API #
+**Description:** The Google+ API enables developers to build on top of the Google+ platform.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Google+_API
+
+
+---
+
+#  Groups Migration API #
+**Description:** Groups Migration Api.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Groups_Migration_API
+
+
+---
+
+#  Groups Settings API #
+**Description:** Lets you manage permission levels and related settings of a group.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Groups_Settings_API
+
+
+---
+
+#  Orkut API #
+**Description:** Lets you manage activities, comments and badges in Orkut. More stuff coming in time.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Orkut_API
+
+
+---
+
+#  PageSpeed Insights API #
+**Description:** Lets you analyze the performance of a web page and get tailored suggestions to make that page faster.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#PageSpeed_Insights_API
+
+
+---
+
+#  Prediction API #
+**Description:** Lets you access a cloud hosted machine learning service that makes it easy to build smart apps
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Prediction_API
+
+
+---
+
+#  Search API For Shopping #
+**Description:** Lets you search over product data.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Search_API_For_Shopping
+
+
+---
+
+#  TaskQueue API #
+**Description:** Lets you access a Google App Engine Pull Task Queue over REST.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#TaskQueue_API
+
+
+---
+
+#  Tasks API #
+**Description:** Lets you manage your tasks and task lists.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Tasks_API
+
+
+---
+
+#  Translate API #
+**Description:** Lets you translate text from one language to another
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#Translate_API
+
+
+---
+
+#  URL Shortener API #
+**Description:** Lets you create, inspect, and manage goo.gl short URLs
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#URL_Shortener_API
+
+
+---
+
+#  YouTube Analytics API #
+**Description:** Retrieve your YouTube Analytics reports.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#YouTube_Analytics_API
+
+
+---
+
+#  YouTube Data API #
+**Description:** Programmatic access to YouTube features.
+
+This content has moved to https://developers.google.com/api-client-library/java/apis#YouTube_Data_API
+
+
+
+
+---
+
+
+# Google Data APIs #
+
+We do not provide service-specific libraries for the Google Data APIs because they are built on an older infrastructure that does not have a Discovery Service. Nevertheless, the base Google API Client Library for Java fully supports Google Data APIs as long as you write your own [Atom XML data model](http://javadoc.google-api-java-client.googlecode.com/hg/1.4.1-beta/com/google/api/client/googleapis/xml/atom/package-summary.html). Please take a look at the following examples for typical usage.
+
+We've written a few samples to demonstrate how this works:
+ * Content API for Shopping
+ * [Samples](http://code.google.com/apis/shopping/content/sample-apps/java/) (note that these samples are built on old version 1.1-alpha of the library and will not work with the latest version of the library)
+ * Google Cloud Storage API
+ * [storage-serviceaccount-cmdline-sample](http://samples.google-api-java-client.googlecode.com/hg/storage-serviceaccount-cmdline-sample/instructions.html?r=default)
+ * [storage-serviceaccount-appengine-sample](http://samples.google-api-java-client.googlecode.com/hg/storage-serviceaccount-appengine-sample/instructions.html?r=default)
+ * Picasa Web Albums Data API
+ * [picasa-cmdline-sample](http://samples.google-api-java-client.googlecode.com/hg/picasa-cmdline-sample/instructions.html?r=default)
+ * YouTube Data API
+ * [youtube-jsonc-sample](http://samples.google-api-java-client.googlecode.com/hg/youtube-jsonc-sample/instructions.html?r=default)
\ No newline at end of file
diff --git a/Android.md b/Android.md
new file mode 100644
index 00000000..d87a0c0e
--- /dev/null
+++ b/Android.md
@@ -0,0 +1,41 @@
+If you are developing for Android and the Google API you want to use is included in the [Google Play Services library](https://developer.android.com/google/play-services/index.html), use that library for the best performance and experience. If the Google API you want to use with Android is not part of the Google Play Services library, you can use the Google APIs Client Library for Java, which supports Android 1.5 (or higher), and which is described here.
+
+Contents:
+
+
+# Getting Started #
+
+Begin by reading the [Android development instructions](http://code.google.com/p/google-http-java-client/wiki/Android) in the Google HTTP Client Library for Java documentation.
+
+# Authentication #
+
+As described in the [Android development instructions](http://code.google.com/p/google-http-java-client/wiki/Android), the best practice on Android (since the 2.1 SDK) is to use the [AccountManager](http://developer.android.com/reference/android/accounts/AccountManager.html) class (@Beta) for centralized identity management and credential token storage.
+
+**OAuth 2.0**
- * When fetching a token, any thrown {@link GoogleAuthException} would be wrapped:
- *
For information about the OAuth 2.0 flow, see the [OAuth 2.0 instructions for Android](OAuth2#Android.md).
+
+**ClientLogin**
ClientLogin is a [deprecated](https://developers.google.com/accounts/docs/AuthForInstalledApps?csw=1) authentication protocol used by older Google APIs. For new applications, we encourage you to use the more secure [OAuth 2.0](OAuth2.md) protocol. Support for ClientLogin in the Google APIs Client Library for Java will be removed.
+
+Older Google APIs that support ClientLogin are well supported on Android. To get an auth token, call `AccountManager.getAuthToken()` with the appropriate `authTokenType` for the Google API you are using, for example `cl` for the Google Calendar Data API.
+
+# Partial Response and Update #
+
+Google APIs support a partial-response protocol that allows you to specify which fields are returned to you in the HTTP response. This can significantly reduce the size of the response, thereby reducing network usage, parsing response time, and memory usage. It works with both JSON and XML.
+
+The following snippet of code drawn from the [Google+ Sample](http://code.google.com/p/google-api-java-client/source/browse/plus-cmdline-sample/src/main/java/com/google/api/services/samples/plus/cmdline/PlusSample.java?repo=samples) demonstrates how to use the partial-response protocol:
+
+```
+Plus.Activities.List listActivities = plus.activities().list("me", "public");
+listActivities.setMaxResults(5L);
+// Pro tip: Use partial responses to improve response time considerably
+listActivities.setFields("nextPageToken,items(id,URL,object/content)");
+ActivityFeed feed = listActivities.execute();
+```
+
+# Samples #
+
+A good example that uses the generated service-specific library is [tasks-android-sample](http://samples.google-api-java-client.googlecode.com/hg/tasks-android-sample/instructions.html). Another example can be found in [calendar-android-sample](http://samples.google-api-java-client.googlecode.com/hg/calendar-android-sample/instructions.html?r=default), which mixes ClientLogin with the service-specific library.
+
+# Best-Practices Video (2011) #
+In the following hour-long video from Google I/O 2011, Yaniv Inbar describes best practices for accessing Google APIs on Android.
+
+
\ No newline at end of file
diff --git a/Batch.md b/Batch.md
new file mode 100644
index 00000000..65c7d900
--- /dev/null
+++ b/Batch.md
@@ -0,0 +1,48 @@
+Each HTTP connection that your client makes results in overhead. To reduce overhead, you can batch multiple API calls together into a single HTTP request.
+
+The main classes of interest are [BatchRequest](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/batch/BatchRequest.html) and [JsonBatchCallback](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/batch/json/JsonBatchCallback.html). The following example shows how to use these classes with service-specific generated libraries:
+
+```
+JsonBatchCallback
+
+
+# Implementation Details #
+
+The main classes of interest are [MediaHttpUploader](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/media/MediaHttpUploader.html) and [MediaHttpProgressListener](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/media/MediaHttpUploaderProgressListener.html).
+
+If methods in the service-specific generated libraries contain the `mediaUpload` parameter in the [Discovery document](https://developers.google.com/discovery/v1/using), then a convenience method is created for these methods that takes an [InputStreamContent](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/http/InputStreamContent.html) as a parameter. (For more about using media upload with the Google APIs Discovery Service, see [Media upload](https://developers.google.com/discovery/v1/using#discovery-doc-methods-mediaupload).)
+
+For example, the `insert` method of the [Drive API](https://www.googleapis.com/discovery/v1/apis/drive/v2.1beta/rest) supports `mediaUpload`, and you can use the following code to upload a file:
+
+```
+class CustomProgressListener implements MediaHttpUploaderProgressListener {
+ public void progressChanged(MediaHttpUploader uploader) throws IOException {
+ switch (uploader.getUploadState()) {
+ case INITIATION_STARTED:
+ System.out.println("Initiation has started!");
+ break;
+ case INITIATION_COMPLETE:
+ System.out.println("Initiation is complete!");
+ break;
+ case MEDIA_IN_PROGRESS:
+ System.out.println(uploader.getProgress());
+ break;
+ case MEDIA_COMPLETE:
+ System.out.println("Upload is complete!");
+ }
+ }
+}
+
+File mediaFile = new File("/tmp/driveFile.jpg");
+InputStreamContent mediaContent =
+ new InputStreamContent("image/jpeg",
+ new BufferedInputStream(new FileInputStream(mediaFile)));
+mediaContent.setLength(mediaFile.length());
+
+Drive.Files.Insert request = drive.files().insert(fileMetadata, mediaContent);
+request.getMediaHttpUploader().setProgressListener(new CustomProgressListener());
+request.execute();
+```
+
+You can also use the resumable media upload feature without the service-specific generated libraries. Here is an example:
+```
+File mediaFile = new File("/tmp/Test.jpg");
+InputStreamContent mediaContent =
+ new InputStreamContent("image/jpeg",
+ new BufferedInputStream(new FileInputStream(mediaFile)));
+mediaContent.setLength(mediaFile.length());
+
+MediaHttpUploader uploader = new MediaHttpUploader(mediaContent, transport, httpRequestInitializer);
+uploader.setProgressListener(new CustomProgressListener());
+HttpResponse response = uploader.upload(requestUrl);
+if (!response.isSuccessStatusCode()) {
+ throw GoogleJsonResponseException(jsonFactory, response);
+}
+```
+
+# Direct Media Upload #
+
+Resumable media upload is enabled by default, but you can disable it and use direct media upload instead, for example if you are uploading a small file. Direct media upload was introduced in the [1.9.0-beta](http://google-api-java-client.blogspot.com/2012/05/version-190-beta-released.html) version of the Google APIs Client Library for Java.
+
+Direct media upload uploads the whole file in one HTTP request, as opposed to the resumable media upload protocol, which uploads the file in multiple requests. Doing a direct upload reduces the number of HTTP requests but increases the chance of failures (such as connection failures) that can happen with large uploads.
+
+The usage for direct media upload is the same as what is described above for resumable media upload, plus the following call that tells [MediaHttpUploader](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/media/MediaHttpUploader.html) to only do direct uploads:
+
+```
+mediaHttpUploader.setDirectUploadEnabled(true);
+```
\ No newline at end of file
diff --git a/OAuth2.md b/OAuth2.md
new file mode 100644
index 00000000..9701223d
--- /dev/null
+++ b/OAuth2.md
@@ -0,0 +1,401 @@
+Contents:
+
+
+
+# Overview #
+
+**Purpose:** This document explains how to use the [GoogleCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html) utility class to do OAuth 2.0 authorization with Google services. For information about the generic OAuth 2.0 functions that we provide, see the [Google OAuth Client Library for Java](https://code.google.com/p/google-oauth-java-client/wiki/OAuth2).
+
+**Summary:** To access protected data stored on Google services, use [OAuth 2.0](https://developers.google.com/accounts/docs/OAuth2) for authorization. Google APIs support OAuth 2.0 flows for different types of client applications. In all of these flows, the client application requests an access token that is associated with only your client application and the owner of the protected data being accessed. The access token is also associated with a limited scope that defines the kind of data your client application has access to (for example "Manage your tasks"). An important goal for OAuth 2.0 is to provide secure and convenient access to the protected data, while minimizing the potential impact if an access token is stolen.
+
+The OAuth 2.0 packages in the Google APIs Client Library for Java are built on the general-purpose [Google OAuth 2.0 Client Library for Java](http://code.google.com/p/google-oauth-java-client/wiki/OAuth2).
+
+For details, see the Javadoc documentation for the following packages:
+ * [com.google.api.client.googleapis.auth.oauth2](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/package-summary.html) (from [google-api-client](Setup#google-api-client.md))
+ * [com.google.api.client.googleapis.extensions.appengine.auth.oauth2](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/extensions/appengine/auth/oauth2/package-summary.html) (from [google-api-client-appengine](Setup#google-api-client-appengine.md))
+
+# Google Developers Console #
+
+Before you can access Google APIs, you need to set up a project on the [Google Developers Console](https://console.developers.google.com/) for auth and billing purposes, whether your client is an installed application, a mobile application, a web server, or a client that runs in browser.
+
+For instructions on setting up your credentials properly, see the [Google Developers Console Help](https://developers.google.com/console/help/new/).
+
+
+# Credential #
+
+## GoogleCredential ##
+
+[GoogleCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html) is a thread-safe helper class for OAuth 2.0 for accessing protected resources using an access token. For example, if you already have an access token, you can make a request in the following way:
+
+```
+GoogleCredential credential = new GoogleCredential().setAccessToken(accessToken);
+Plus plus = new Plus.builder(new NetHttpTransport(), JacksonFactory.getDefaultInstance(), credential)
+ .setApplicationName("Google-PlusSample/1.0")
+ .build();
+```
+
+## Google App Engine identity ##
+
+This alternative credential is based on the [Google App Engine App Identity Java API](http://code.google.com/appengine/docs/java/appidentity/overview.html#Asserting_Identity_to_Google_APIs). Unlike the credential in which a client application requests access to an end-user's data, the App Identity API provides access to the client application's own data.
+
+Use [AppIdentityCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/extensions/appengine/auth/oauth2/AppIdentityCredential.html) (from [google-api-client-appengine](Setup#google-api-client-appengine.md)). This credential is much simpler because Google App Engine takes care of all of the details. You only specify the OAuth 2.0 scope you need.
+
+Example code taken from [urlshortener-robots-appengine-sample](http://samples.google-api-java-client.googlecode.com/hg/urlshortener-robots-appengine-sample/instructions.html):
+
+```
+static Urlshortener newUrlshortener() {
+ AppIdentityCredential credential =
+ new AppIdentityCredential(Arrays.asList(UrlshortenerScopes.URLSHORTENER));
+ return new Urlshortener.Builder(new UrlFetchTransport(), JacksonFactory.getDefaultInstance(), credential)
+ .build();
+}
+```
+
+# Data Store #
+
+An access token typically has an expiration date of 1 hour, after which you will get an error if you try to use it. [GoogleCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html) takes care of automatically "refreshing" the token, which simply means getting a new access token. This is done by means of a long-lived refresh token, which is typically received along with the access token if you use the `access_type=offline` parameter during the authorization code flow (see [GoogleAuthorizationCodeFlow.Builder.setAccessType(String)](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleAuthorizationCodeFlow.Builder.html#setAccessType(java.lang.String))).
+
+Most applications will need to persist the credential's access token and/or refresh token. To persist the credential's access and/or refresh tokens, you can provide your own implementation of [DataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/util/store/DataStoreFactory.html) and [DataStore](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/util/store/DataStore.html) with [StoredCredential](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/StoredCredential.html); or you can use one of the following implementations provided by the library:
+ * [JdoDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/jdo/JdoDataStoreFactory.html): persists the credential using JDO.
+ * [AppEngineDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.html): persists the credential using the Google App Engine Data Store API.
+ * [MemoryDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/util/store/MemoryDataStoreFactory.html) "persists" the credential in memory, which is only useful as a short-term storage for the lifetime of the process.
+ * [FileDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/util/store/FileDataStoreFactory.html): persists the credential in a file.
+
+**AppEngine Users:**
+> [AppEngineCredentialStore](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/auth/oauth2/AppEngineCredentialStore.html) is deprecated and will be removed soon. You are recommended to use [AppEngineDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.html) with [StoredCredential](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/StoredCredential.html). If you have credentials stored in the old fasion, you can use the added helper methods [migrateTo(AppEngineDataStoreFactory)](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/auth/oauth2/AppEngineCredentialStore.html#migrateTo%28com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory%29) or [migrateTo(DataStore)](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/auth/oauth2/AppEngineCredentialStore.html#migrateTo%28com.google.api.client.util.store.DataStore%29) to do the migration.
+
+You may use [DataStoreCredentialRefreshListener](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/DataStoreCredentialRefreshListener.html) and set it for the credential using [GoogleCredential.Builder.addRefreshListener(CredentialRefreshListener)](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.Builder.html#addRefreshListener(com.google.api.client.auth.oauth2.CredentialRefreshListener)).
+
+
+
+# Authorization Code Flow #
+
+Use the authorization code flow to allow the end-user to grant your application access to their protected data on Google APIs. The protocol for this flow is specified in [Authorization Code Grant](http://tools.ietf.org/html/draft-ietf-oauth-v2-23#section-4.1).
+
+This flow is implemented using [GoogleAuthorizationCodeFlow](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleAuthorizationCodeFlow.html). The steps are:
+ * End-user logs in to your application. You will need to associate that user with a user ID that is unique for your application.
+ * Call [AuthorizationCodeFlow.loadCredential(String)](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/AuthorizationCodeFlow.html#loadCredential(java.lang.String)) based on the user ID to check if the end-user's credentials are already known. If so, we're done.
+ * If not, call [AuthorizationCodeFlow.newAuthorizationUrl()](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/AuthorizationCodeFlow.html#newAuthorizationUrl()) and direct the end-user's browser to an authorization page to grant your application access to their protected data.
+ * The Google authorization server will then redirect the browser back to the redirect URL specified by your application, along with a `code` query parameter. Use the `code` parameter to request an access token using [AuthorizationCodeFlow.newTokenRequest(String)](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/AuthorizationCodeFlow.html#newTokenRequest(java.lang.String)).
+ * Use [AuthorizationCodeFlow.createAndStoreCredential(TokenResponse, String)](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/AuthorizationCodeFlow.html#createAndStoreCredential(com.google.api.client.auth.oauth2.TokenResponse,%20java.lang.String)) to store and obtain a credential for accessing protected resources.
+
+Alternatively, if you are not using [GoogleAuthorizationCodeFlow](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleAuthorizationCodeFlow.html), you may use the lower-level classes:
+
+ * Use [DataStore.get(String)](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/util/store/DataStore.html#get%28java.lang.String%29) to load the credential from the store based on the user ID.
+ * Use [GoogleAuthorizationCodeRequestUrl](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleAuthorizationCodeRequestUrl.html) to direct the browser to the authorization page.
+ * Use [AuthorizationCodeResponseUrl](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/AuthorizationCodeResponseUrl.html) to process the authorization response and parse the authorization code.
+ * Use [GoogleAuthorizationCodeTokenRequest](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleAuthorizationCodeTokenRequest.html) to request an access token and possibly a refresh token.
+ * Create a new [GoogleCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html) and store it using [DataStore.set(String, V)](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/util/store/DataStore.html#set%28java.lang.String,%20V%29).
+ * Access protected resources using the [GoogleCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html). Expired access tokens will automatically be refreshed using the refresh token (if applicable). Make sure to use [DataStoreCredentialRefreshListener](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/auth/oauth2/DataStoreCredentialRefreshListener.html) and set it for the credential using [GoogleCredential.Builder.addRefreshListener(CredentialRefreshListener)](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.Builder.html#addRefreshListener(com.google.api.client.auth.oauth2.CredentialRefreshListener))].
+
+When you set up your project in the [Google Developers Console](http://console.developers.google.com), you select among different credentials, depending on the flow you are using. For more details, see [Setting up OAuth 2.0](https://developers.google.com/console/help/new/#generatingoauth2) and [OAuth 2.0 Scenarios](https://developers.google.com/accounts/docs/OAuth2#scenarios). Below we provide code snippets for each of the flows.
+
+## Web server applications ##
+
+The protocol for this flow is explained in [Using OAuth 2.0 for Web Server Applications](https://developers.google.com/accounts/docs/OAuth2WebServer).
+
+This library provides servlet helper classes to significantly simplify the authorization code flow for basic use cases. You just provide concrete subclasses of [AbstractAuthorizationCodeServlet](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/servlet/auth/oauth2/AbstractAuthorizationCodeServlet.html) and [AbstractAuthorizationCodeCallbackServlet](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/servlet/auth/oauth2/AbstractAuthorizationCodeCallbackServlet.html) (from [google-oauth-client-servlet](http://code.google.com/p/google-oauth-java-client/wiki/Setup#google-oauth-client-servlet)) and add them to your web.xml file. Note that you still need to take care of user login for your web application and extract a user ID. [JdoDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/jdo/JdoDataStoreFactory.html) (from [google-oauth-client-servlet](http://code.google.com/p/google-oauth-java-client/wiki/Setup#google-oauth-client-servlet)) is a good option for persisting the credential using JDO.
+
+```
+public class CalendarServletSample extends AbstractAuthorizationCodeServlet {
+
+ @Override
+ protected void doGet(HttpServletRequest request, HttpServletResponse response)
+ throws IOException {
+ // do stuff
+ }
+
+ @Override
+ protected String getRedirectUri(HttpServletRequest req) throws ServletException, IOException {
+ GenericUrl url = new GenericUrl(req.getRequestURL().toString());
+ url.setRawPath("/oauth2callback");
+ return url.build();
+ }
+
+ @Override
+ protected AuthorizationCodeFlow initializeFlow() throws IOException {
+ return new GoogleAuthorizationCodeFlow.Builder(
+ new NetHttpTransport(), JacksonFactory.getDefaultInstance(),
+ "[[ENTER YOUR CLIENT ID]]", "[[ENTER YOUR CLIENT SECRET]]",
+ Collections.singleton(CalendarScopes.CALENDAR)).setDataStoreFactory(
+ DATA_STORE_FACTORY).setAccessType("offline").build();
+ }
+
+ @Override
+ protected String getUserId(HttpServletRequest req) throws ServletException, IOException {
+ // return user ID
+ }
+}
+
+public class CalendarServletCallbackSample extends AbstractAuthorizationCodeCallbackServlet {
+
+ @Override
+ protected void onSuccess(HttpServletRequest req, HttpServletResponse resp, Credential credential)
+ throws ServletException, IOException {
+ resp.sendRedirect("/");
+ }
+
+ @Override
+ protected void onError(
+ HttpServletRequest req, HttpServletResponse resp, AuthorizationCodeResponseUrl errorResponse)
+ throws ServletException, IOException {
+ // handle error
+ }
+
+ @Override
+ protected String getRedirectUri(HttpServletRequest req) throws ServletException, IOException {
+ GenericUrl url = new GenericUrl(req.getRequestURL().toString());
+ url.setRawPath("/oauth2callback");
+ return url.build();
+ }
+
+ @Override
+ protected AuthorizationCodeFlow initializeFlow() throws IOException {
+ return new GoogleAuthorizationCodeFlow.Builder(
+ new NetHttpTransport(), JacksonFactory.getDefaultInstance()
+ "[[ENTER YOUR CLIENT ID]]", "[[ENTER YOUR CLIENT SECRET]]",
+ Collections.singleton(CalendarScopes.CALENDAR)).setDataStoreFactory(
+ DATA_STORE_FACTORY).setAccessType("offline").build();
+ }
+
+ @Override
+ protected String getUserId(HttpServletRequest req) throws ServletException, IOException {
+ // return user ID
+ }
+}
+```
+
+### Google App Engine applications ###
+
+The authorization code flow on App Engine is almost identical to the servlet authorization code flow, except that we can leverage Google App Engine's [Users Java API](http://code.google.com/appengine/docs/java/users/overview.html). The user needs to be logged in for the Users Java API to be enabled; for information about redirecting users to a login page if they are not already logged in, see [Security and Authentication](http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication) (in web.xml).
+
+The primary difference from the servlet case is that you provide concrete subclasses of [AbstractAppEngineAuthorizationCodeServlet](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet.html) and [AbstractAppEngineAuthorizationCodeCallbackServlet](http://javadoc.google-oauth-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet.html) (from [google-oauth-client-appengine](http://code.google.com/p/google-oauth-java-client/wiki/Setup#google-oauth-client-appengine)). They extend the abstract servlet classes and implement the `getUserId` method for you using the Users Java API. [AppEngineDataStoreFactory](http://javadoc.google-http-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.html) (from [google-http-client-appengine](http://code.google.com/p/google-http-java-client/wiki/Setup#google-http-client-appengine)) is a good option for persisting the credential using the Google App Engine Data Store API.
+
+Example taken (slightly modified) from [calendar-appengine-sample](http://samples.google-api-java-client.googlecode.com/hg/calendar-appengine-sample/instructions.html):
+
+```
+public class CalendarAppEngineSample extends AbstractAppEngineAuthorizationCodeServlet {
+
+ @Override
+ protected void doGet(HttpServletRequest request, HttpServletResponse response)
+ throws IOException {
+ // do stuff
+ }
+
+ @Override
+ protected String getRedirectUri(HttpServletRequest req) throws ServletException, IOException {
+ return Utils.getRedirectUri(req);
+ }
+
+ @Override
+ protected AuthorizationCodeFlow initializeFlow() throws IOException {
+ return Utils.newFlow();
+ }
+}
+
+class Utils {
+ static String getRedirectUri(HttpServletRequest req) {
+ GenericUrl url = new GenericUrl(req.getRequestURL().toString());
+ url.setRawPath("/oauth2callback");
+ return url.build();
+ }
+
+ static GoogleAuthorizationCodeFlow newFlow() throws IOException {
+ return new GoogleAuthorizationCodeFlow.Builder(HTTP_TRANSPORT, JSON_FACTORY,
+ getClientCredential(), Collections.singleton(CalendarScopes.CALENDAR)).setDataStoreFactory(
+ DATA_STORE_FACTORY).setAccessType("offline").build();
+ }
+}
+
+public class OAuth2Callback extends AbstractAppEngineAuthorizationCodeCallbackServlet {
+
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ protected void onSuccess(HttpServletRequest req, HttpServletResponse resp, Credential credential)
+ throws ServletException, IOException {
+ resp.sendRedirect("/");
+ }
+
+ @Override
+ protected void onError(
+ HttpServletRequest req, HttpServletResponse resp, AuthorizationCodeResponseUrl errorResponse)
+ throws ServletException, IOException {
+ String nickname = UserServiceFactory.getUserService().getCurrentUser().getNickname();
+ resp.getWriter().print("" + nickname + ", why don't you want to play with me?");
+ resp.setStatus(200);
+ resp.addHeader("Content-Type", "text/html");
+ }
+
+ @Override
+ protected String getRedirectUri(HttpServletRequest req) throws ServletException, IOException {
+ return Utils.getRedirectUri(req);
+ }
+
+ @Override
+ protected AuthorizationCodeFlow initializeFlow() throws IOException {
+ return Utils.newFlow();
+ }
+}
+```
+
+Please also see [storage-serviceaccount-appengine-sample](https://github.com/GoogleCloudPlatform/cloud-storage-docs-xml-api-examples) for an additional example.
+
+## Service accounts ##
+
+[GoogleCredential](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html) also supports [service accounts](https://developers.google.com/accounts/docs/OAuth2ServiceAccount). Unlike the credential in which a client application requests access to an end-user's data, Service Accounts provide access to the client application's own data. Your client application signs the request for an access token using a private key downloaded from the [Google Developers console](#Google_Developers_Console.md).
+
+Example code taken from [plus-serviceaccount-cmdline-sample](http://samples.google-api-java-client.googlecode.com/hg/plus-serviceaccount-cmdline-sample/instructions.html):
+
+```
+HttpTransport httpTransport = GoogleNetHttpTransport.newTrustedTransport();
+JsonFactory jsonFactory = JacksonFactory.getDefaultInstance();
+...
+// Build service account credential.
+GoogleCredential credential = new GoogleCredential.Builder().setTransport(httpTransport)
+ .setJsonFactory(jsonFactory)
+ .setServiceAccountId(SERVICE_ACCOUNT_EMAIL)
+ .setServiceAccountScopes(Collections.singleton(PlusScopes.PLUS_ME))
+ .setServiceAccountPrivateKeyFromP12File(new File("key.p12"))
+ .build();
+// set up global Plus instance
+plus = new Plus.Builder(httpTransport, jsonFactory, credential)
+ .setApplicationName(APPLICATION_NAME).build();
+...
+```
+
+Please also see [storage-serviceaccount-cmdline-sample](https://github.com/GoogleCloudPlatform/cloud-storage-docs-xml-api-examples) for an additional example.
+
+### Impersonation ###
+You can also use the service account flow to impersonate a user in a domain that you own. This is very similar to the service account flow above, but you additionally call [GoogleCredential.BuildersetServiceAccountUser(String)](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.Builder.html#setServiceAccountUser%28java.lang.String%29).
+
+
+## Installed applications ##
+
+This is the command-line authorization code flow described in [Using OAuth 2.0 for Installed Applications](https://developers.google.com/accounts/docs/OAuth2InstalledApp).
+
+Example snippet from [plus-cmdline-sample](http://samples.google-api-java-client.googlecode.com/hg/plus-cmdline-sample/instructions.html)
+
+```
+public static void main(String[] args) {
+ try {
+ httpTransport = GoogleNetHttpTransport.newTrustedTransport();
+ dataStoreFactory = new FileDataStoreFactory(DATA_STORE_DIR);
+ // authorization
+ Credential credential = authorize();
+ // set up global Plus instance
+ plus = new Plus.Builder(httpTransport, JSON_FACTORY, credential).setApplicationName(
+ APPLICATION_NAME).build();
+ // ...
+}
+
+private static Credential authorize() throws Exception {
+ // load client secrets
+ GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY,
+ new InputStreamReader(PlusSample.class.getResourceAsStream("/client_secrets.json")));
+ // set up authorization code flow
+ GoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder(
+ httpTransport, JSON_FACTORY, clientSecrets,
+ Collections.singleton(PlusScopes.PLUS_ME)).setDataStoreFactory(
+ dataStoreFactory).build();
+ // authorize
+ return new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize("user");
+}
+```
+
+## Client-side applications ##
+
+These are the typical steps of the the browser-based client flow described in [Using OAuth 2.0 for Client-side Applications](https://developers.google.com/accounts/docs/OAuth2UserAgent):
+
+ * Redirect the end user in the browser to the authorization page using [GoogleBrowserClientRequestUrl](http://javadoc.google-api-java-client.googlecode.com/hg/1.18.0-rc/com/google/api/client/googleapis/auth/oauth2/GoogleBrowserClientRequestUrl.html) to grant your browser application access to the end user's protected data.
+ * Use the [Google API Client Library for JavaScript](http://code.google.com/p/google-api-javascript-client/) to process the access token found in the URL fragment at the redirect URI registered at the [Google Developers Console](#Google_Developers_Console.md).
+
+Sample usage for a web application:
+
+```
+public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
+ String url = new GoogleBrowserClientRequestUrl("812741506391.apps.googleusercontent.com",
+ "https://oauth2-login-demo.appspot.com/oauthcallback", Arrays.asList(
+ "https://www.googleapis.com/auth/userinfo.email",
+ "https://www.googleapis.com/auth/userinfo.profile")).setState("/profile").build();
+ response.sendRedirect(url);
+}
+```
+
+## Android ##
+[@Beta](https://code.google.com/p/google-api-java-client/#@Beta)
+
+**Which library to use with Android:**
+
+If you are developing for Android and the Google API you want to use is included in the [Google Play Services library](https://developer.android.com/google/play-services/index.html), use that library for the best performance and experience. If the Google API you want to use with Android is not part of the Google Play Services library, you can use the Google APIs Client Library for Java, which supports Android 1.5 (or higher), and which is described here. The support for Android in the Google APIs Client Library for Java is [@Beta](https://code.google.com/p/google-api-java-client/#@Beta).
+
+**Background:**
+
+Starting with Eclair (SDK 2.1), user accounts are managed on an Android device using the Account Manager. All Android application authorization is centrally managed by the SDK using [AccountManager](http://developer.android.com/reference/android/accounts/AccountManager.html). You specify the OAuth 2.0 scope your application needs, and it returns an access token to use.
+
+The OAuth 2.0 scope is specified via the `authTokenType` parameter as `oauth2:` plus the scope. For example:
+
+```
+oauth2:https://www.googleapis.com/auth/tasks
+```
+
+This specifies read/write access to the Google Tasks API. If you need multiple OAuth 2.0 scopes, use a space-separated list.
+
+Some APIs have special `authTokenType` parameters that also work. For example, "Manage your tasks" is an alias for the `authtokenType` example shown above.
+
+You must also specify the API key from the [Google Developers Console](#Google_Developers_Console.md). Otherwise, the token that the AccountManager gives you only provides you with anonymous quota, which is usually very low. By contrast, by specifying an API key you receive a higher free quota, and can optionally set up billing for usage above that.
+
+Example code snippet taken from [tasks-android-sample](http://samples.google-api-java-client.googlecode.com/hg/tasks-android-sample/instructions.html):
+
+```
+com.google.api.services.tasks.Tasks service;
+
+@Override
+public void onCreate(Bundle savedInstanceState) {
+ credential =
+ GoogleAccountCredential.usingOAuth2(this, Collections.singleton(TasksScopes.TASKS));
+ SharedPreferences settings = getPreferences(Context.MODE_PRIVATE);
+ credential.setSelectedAccountName(settings.getString(PREF_ACCOUNT_NAME, null));
+ service =
+ new com.google.api.services.tasks.Tasks.Builder(httpTransport, jsonFactory, credential)
+ .setApplicationName("Google-TasksAndroidSample/1.0").build();
+}
+
+private void chooseAccount() {
+ startActivityForResult(credential.newChooseAccountIntent(), REQUEST_ACCOUNT_PICKER);
+}
+
+@Override
+protected void onActivityResult(int requestCode, int resultCode, Intent data) {
+ super.onActivityResult(requestCode, resultCode, data);
+ switch (requestCode) {
+ case REQUEST_GOOGLE_PLAY_SERVICES:
+ if (resultCode == Activity.RESULT_OK) {
+ haveGooglePlayServices();
+ } else {
+ checkGooglePlayServicesAvailable();
+ }
+ break;
+ case REQUEST_AUTHORIZATION:
+ if (resultCode == Activity.RESULT_OK) {
+ AsyncLoadTasks.run(this);
+ } else {
+ chooseAccount();
+ }
+ break;
+ case REQUEST_ACCOUNT_PICKER:
+ if (resultCode == Activity.RESULT_OK && data != null && data.getExtras() != null) {
+ String accountName = data.getExtras().getString(AccountManager.KEY_ACCOUNT_NAME);
+ if (accountName != null) {
+ credential.setSelectedAccountName(accountName);
+ SharedPreferences settings = getPreferences(Context.MODE_PRIVATE);
+ SharedPreferences.Editor editor = settings.edit();
+ editor.putString(PREF_ACCOUNT_NAME, accountName);
+ editor.commit();
+ AsyncLoadTasks.run(this);
+ }
+ }
+ break;
+ }
+}
+```
\ No newline at end of file
diff --git a/ProjectHome.md b/ProjectHome.md
new file mode 100644
index 00000000..4ce80287
--- /dev/null
+++ b/ProjectHome.md
@@ -0,0 +1,170 @@
+| [Developer's Guide](DeveloperGuide.md) | [Libraries and Samples](https://developers.google.com/api-client-library/java/apis/) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/index.html) | [Get Help](Support.md) |
+|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+# Google APIs Client Library for Java #
+
+This has moved to GitHub: https://github.com/google/google-api-java-client
+
+_Issues have been migrated to the [GitHub issue tracker](https://github.com/google/google-api-java-client/issues). If you own an open issue on this site, you can find a copy of it on GitHub. Please leave your comments over there._
+
+ * [Overview](#Overview.md)
+ * [Highlighted Features](#Highlighted_Features.md)
+ * [Dependencies](#Dependencies.md)
+ * [Important Warnings](#Important_Warnings.md)
+ * [@Beta](#@Beta.md)
+ * [Deprecations](#Deprecations.md)
+
+# Overview #
+
+The Google APIs Client Library for Java is a flexible, efficient, and powerful Java client library for accessing any HTTP-based API on the web, not just Google APIs.
+
+The library has the following features:
+ * A powerful [OAuth 2.0](http://code.google.com/p/google-api-java-client/wiki/OAuth2) library with a consistent interface.
+ * Lightweight, efficient XML and JSON data models that support any data schema.
+ * Support for [protocol buffers](https://code.google.com/p/protobuf/).
+ * A set of [generated libraries for Google APIs](https://developers.google.com/api-client-library/java/apis/).
+
+**Accessing Google APIs**
+
+To use Google's Java client libraries to call any Google API, you need two libraries:
+
+ * The core Google APIs Client Library for Java (google-api-java-client), which is the generic runtime library described here. This library provides functionality common to all APIs, for example HTTP transport, error handling, authentication, JSON parsing, media download/upload, and batching.
+ * An auto-generated Java library for the API you are accessing, for example the [generated Java library for the BigQuery API](https://code.google.com/p/google-api-java-client/source/browse/bigquery-appengine-sample/?repo=samples#bigquery-appengine-sample%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fapi%2Fclient%2Fsample%2Fbigquery%2Fappengine%2Fdashboard%253Fstate%253Dclosed). These generated libraries include API-specific information such as the root URL, and classes that represent entities in the context of the API. These classes are useful for making conversions between JSON objects and Java objects.
+
+To find the generated library for a Google API, visit [Google APIs Client Library for Java](https://developers.google.com/api-client-library/java/apis/). The API-specific Java packages include both the core google-api-java-client and the client-specific libraries.
+
+If you are using the old GData library, you need to [migrate](http://code.google.com/p/gdata-java-client/wiki/MigratingToGoogleApiJavaClient).
+
+**Developing for Android**
+
+If you are developing for Android and the Google API you want to use is included in the [Google Play Services library](https://developer.android.com/google/play-services/index.html), you should use that library for the best performance and experience.
+
+To access other Google APIs, you can use the Google APIs Client Library for Java, which supports [Android 1.5 (or higher)](Android.md).
+
+**Other Java environments**
+
+In addition to Android 1.5 or higher, the Google APIs Client Library for Java supports the following Java environments:
+ * Java 5 (or higher), standard (SE) and enterprise (EE)
+ * [Google App Engine](GoogleAppEngine.md)
+
+Not supported: Google Web Toolkit (GWT), Java mobile (ME), and Java 1.4 (or earlier).
+
+# Highlighted Features #
+**The library makes it simple to call Google APIs.**
+
+> You can call Google APIs using Google service-specific generated libraries with the Google APIs Client Library for Java. Here's an example that makes a call to the [Google Calendar API](https://developers.google.com/google-apps/calendar/):
+
+```
+ // Show events on user's calendar.
+ View.header("Show Calendars");
+ CalendarList feed = client.calendarList().list().execute();
+ View.display(feed);
+```
+
+**The library makes authentication easier.**
+
+> The authentication library can reduce the amount of code needed to handle [OAuth 2.0](OAuth2.md), and sometimes a few lines is all you need. For example:
+
+```
+ /** Authorizes the installed application to access user's protected data. */
+ private static Credential authorize() throws Exception {
+ // load client secrets
+ GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY,
+ new InputStreamReader(CalendarSample.class.getResourceAsStream("/client_secrets.json")));
+ // set up authorization code flow
+ GoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder(
+ httpTransport, JSON_FACTORY, clientSecrets,
+ Collections.singleton(CalendarScopes.CALENDAR)).setDataStoreFactory(dataStoreFactory)
+ .build();
+ // authorize
+ return new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize("user");
+ }
+```
+**The library makes batching and media upload/download easier.**
+
+> The library offers helper classes for [batching](Batch.md), [media upload](MediaUpload.md), and [media download](MediaDownload.md).
+
+**The library runs on Google App Engine.**
+
+> [App Engine-specific helpers](GoogleAppEngine.md) make quick work of authenticated calls to APIs, and you do not need to worry about exchanging code for tokens. For example:
+
+```
+ @Override
+ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
+ AppIdentityCredential credential =
+ new AppIdentityCredential(Arrays.asList(UrlshortenerScopes.URLSHORTENER));
+ Urlshortener shortener =
+ new Urlshortener.Builder(new UrlFetchTransport(), new JacksonFactory(), credential)
+ .build();
+ UrlHistory history = shortener.URL().list().execute();
+ ...
+ }
+```
+
+**The library runs on [Android (@Beta)](#@Beta.md).**
+
+> If you are developing for Android and the Google API you want to use is included in the [Google Play Services library](https://developer.android.com/google/play-services/index.html), you should use that library for the best performance and experience.
+
+> To access other Google APIs, you can use the Google Client Library for Java's Android-specific helper classes, which are are well-integrated with [Android AccountManager](http://developer.android.com/reference/android/accounts/AccountManager.html). For example:
+
+```
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ // Google Accounts
+ credential =
+ GoogleAccountCredential.usingOAuth2(this, Collections.singleton(TasksScopes.TASKS));
+ SharedPreferences settings = getPreferences(Context.MODE_PRIVATE);
+ credential.setSelectedAccountName(settings.getString(PREF_ACCOUNT_NAME, null));
+ // Tasks client
+ service =
+ new com.google.api.services.tasks.Tasks.Builder(httpTransport, jsonFactory, credential)
+ .setApplicationName("Google-TasksAndroidSample/1.0").build();
+ }
+```
+
+**The library is easy to install.**
+
+> The Google APIs Client Library for Java is easy to install, and you can download the binary directly from the [Downloads page](Downloads.md), or you can use Maven or Gradle.
+> To use Maven, add the following lines to your pom.xml file:
+
+```
+
+Issue [527](http://code.google.com/p/google-api-java-client/issues/detail?id=527): Proguard does not strip out GoogleJsonError.ErrorInfo anymore.
+Issue [528](http://code.google.com/p/google-api-java-client/issues/detail?id=528): Proguard does not strip out model. anymore.
+Updated to google-http-java-client version 1.10.3-beta.
+Updated to google-oauth-java-client version 1.10.1-beta.
+
+
+# Version 1.10.2-beta #
+
+_June 18, 2012_
+
+| [Bugs Fixed](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone=Version1.10.2%20status=Fixed&colspec=ID%20Type%20Priority%20Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.10.2-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.10.2-beta/jdiff/changes.html) |
+|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+[Bugs Fixed](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone=Version1.10.2%20status=Fixed&colspec=ID%20Type%20Priority%20Summary):
+Issue [521](http://code.google.com/p/google-api-java-client/issues/detail?id=521): Fixed resumable upload failure when writing multiple chunks.
+Issue [512](http://code.google.com/p/google-api-java-client/issues/detail?id=512): Added exponential backoff to Batch.
+
+# Version 1.10.1-beta #
+
+_June 14, 2012_
+
+| [New Features in base library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone%3DVersion1.10.0+status%3DFixed&colspec=ID+Type+Priority+Summary&x=component&y=milestone&cells=tiles) | [New Features in generated library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=Milestone%3DCodeGenVersion1.7.0+status%3DFixed&colspec=ID+Type+Priority+Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.10.1-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.10.1-beta/jdiff/changes.html) |
+|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Highlights:
+ * [[Issue 516](http://code.google.com/p/google-api-java-client/issues/detail?id=516)] Changed accessType and approvalPrompt defaults in GoogleAuthorizationCodeFlow.
+ * [[Issue 402](http://code.google.com/p/google-api-java-client/issues/detail?id=402)] Fixed memory leaks.
+ * [[Issue 125](http://code.google.com/p/google-http-java-client/issues/detail?id=125)] Fixed issue of creating UrlFetchTransport in GAE SDK 1.6.6 in google-http-java-client.
+ * [[Issue 116](http://code.google.com/p/google-http-java-client/issues/detail?id=116)] Fixed CloseGuard error after EOFException in google-http-java-client.
+ * [[Issue 78](http://code.google.com/p/google-http-java-client/issues/detail?id=78)] Fixed memory leaks in google-http-java-client.
+ * [[Issue 118](http://code.google.com/p/google-http-java-client/issues/detail?id=118)] UriTemplate.expand now supports Iterable for list parameters in google-http-java-client.
+ * [[Issue 514](http://code.google.com/p/google-api-java-client/issues/detail?id=514)] Added HttpRequestInitializer to constructor and Builder of generated service-specific libraries.
+ * [[Issue 511](http://code.google.com/p/google-api-java-client/issues/detail?id=511)] Moved enableGZipContent to JsonHttpRequest and removed builder() methods.
+ * [[Issue 500](http://code.google.com/p/google-api-java-client/issues/detail?id=500)] Updated GoogleClient to use rootUrl and servicePath.
+ * Improvements to the surface of the service-specific generated libraries:
+ * [[Issue 505](http://code.google.com/p/google-api-java-client/issues/detail?id=505)] New structure for jars in zip package of generated libraries.
+ * [[Issue 483](http://code.google.com/p/google-api-java-client/issues/detail?id=483)] setFields are now overridden.
+ * [[Issue 387](http://code.google.com/p/google-api-java-client/issues/detail?id=387)] Created an isX() method for boolean parameters.
+ * [[Issue 515](http://code.google.com/p/google-api-java-client/issues/detail?id=515)] Generated service-specific libraries now use rootUrl rather than baseUrl.
+ * [[Issue 518](http://code.google.com/p/google-api-java-client/issues/detail?id=518)] Added Maven archtype catalog.
+ * Updated to google-http-java-client version 1.10.
+ * Updated to google-oauth-java-client version 1.10.
+
+# Version 1.9.0-beta #
+
+_May 18, 2012_
+
+| [New Features in base library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone%3DVersion1.9.0+status%3DFixed&colspec=ID+Type+Priority+Summary&x=component&y=milestone&cells=tiles) | [New Features in generated library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=Milestone%3DCodeGenVersion1.6.0+status%3DFixed&colspec=ID+Type+Priority+Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.9.0-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.9.0-beta/jdiff/changes.html) |
+|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Highlights:
+ * [[Issue 308](http://code.google.com/p/google-api-java-client/issues/detail?id=308)] Added support for [Batch](http://code.google.com/p/google-api-java-client/wiki/Batch).
+ * [[Issue 448](http://code.google.com/p/google-api-java-client/issues/detail?id=448)] Added support for [Resumable Media Download](http://code.google.com/p/google-api-java-client/wiki/MediaDownload#Resumable_Media_Download).
+ * [[Issue 391](http://code.google.com/p/google-api-java-client/issues/detail?id=391)] Added support for [Direct Media Upload](http://code.google.com/p/google-api-java-client/wiki/MediaUpload#Direct_Media_Upload).
+ * [[Issue 459](http://code.google.com/p/google-api-java-client/issues/detail?id=459)] [GoogleIdTokenVerifier](http://javadoc.google-api-java-client.googlecode.com/hg/1.9.0-beta/com/google/api/client/googleapis/auth/oauth2/GoogleIdTokenVerifier.html) now has support for specifying multiple client ids.
+ * [[Issue 452](http://code.google.com/p/google-api-java-client/issues/detail?id=452)] Handled connection errors in [MediaHttpUploader](http://javadoc.google-api-java-client.googlecode.com/hg/1.9.0-beta/com/google/api/client/googleapis/media/MediaHttpUploader.html).
+ * [[Issue 473](http://code.google.com/p/google-api-java-client/issues/detail?id=473)] [MediaHttpUploader](http://javadoc.google-api-java-client.googlecode.com/hg/1.9.0-beta/com/google/api/client/googleapis/media/MediaHttpUploader.html) now handles input streams that do not support mark().
+ * Improvements to the surface of the service-specific generated libraries:
+ * [[Issue 215](http://code.google.com/p/google-api-java-client/issues/detail?id=215)] Added support for specifying HTTP headers on a request.
+ * [[Issue 346](http://code.google.com/p/google-api-java-client/issues/detail?id=346)] Handled case where default value for alt parameter is not json.
+ * [[Issue 489](http://code.google.com/p/google-api-java-client/issues/detail?id=489)] Fixed compilation error when method names are the same name as the collection.
+ * [[Issue 490](http://code.google.com/p/google-api-java-client/issues/detail?id=490)] Fixed compilation error when deeply nested classes have the same name as one of its ancestors.
+ * [[Issue 480](http://code.google.com/p/google-api-java-client/issues/detail?id=480)] Removed xpp3 as a dependency for Android.
+ * [[Issue 461](http://code.google.com/p/google-api-java-client/issues/detail?id=461)] Generalized dependency instructions for non-Android.
+ * [[Issue 487](http://code.google.com/p/google-api-java-client/issues/detail?id=487)] Created new structure for jars in the zip package.
+ * [[Issue 471](http://code.google.com/p/google-api-java-client/issues/detail?id=471)] Removed deprecated classes/methods/fields from version 1.8.
+ * Updated to [google-http-java-client version 1.9](http://google-http-java-client.blogspot.com/2012/05/version-190-beta-released.html).
+ * Updated to [google-oauth-java-client version 1.9](http://google-oauth-java-client.blogspot.com/2012/05/version-190-beta-released.html).
+
+# Version 1.8.0-beta #
+
+_April 4, 2012_
+
+| [New Features in base library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone%3DVersion1.8.0+status%3DFixed&colspec=ID+Type+Priority+Summary&x=component&y=milestone&cells=tiles) | [New Features in generated library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=Milestone%3DCodeGenVersion1.5.0+status%3DFixed&colspec=ID+Type+Priority+Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/jdiff/changes.html) |
+|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Highlights:
+ * Improvements to the surface of the service-specific generated libraries:
+ * [[Issue 434](http://code.google.com/p/google-api-java-client/issues/detail?id=434)] Added support for direct media download.
+ * [[Issue 444](http://code.google.com/p/google-api-java-client/issues/detail?id=444)] Resumable media upload now uses the base URL set through builder.setBaseUrl.
+ * [[Issue 436](http://code.google.com/p/google-api-java-client/issues/detail?id=436)] [GoogleKeyInitializer](http://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/com/google/api/client/googleapis/services/GoogleKeyInitializer.html) has been added.
+ * [[Issue 440](http://code.google.com/p/google-api-java-client/issues/detail?id=440)] [GoogleJsonResponseException](http://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/com/google/api/client/googleapis/json/GoogleJsonResponseException.html) no longer throws an NPE when the response has no content.
+ * [[Issue 430](http://code.google.com/p/google-api-java-client/issues/detail?id=430)] [GoogleIdTokenVerifier](http://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/com/google/api/client/googleapis/auth/oauth2/GoogleIdTokenVerifier.html) now supports arbitary client\_ids.
+ * [[Issue 431](http://code.google.com/p/google-api-java-client/issues/detail?id=431)] [AppIdentityCredential.intercept](http://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/com/google/api/client/googleapis/extensions/appengine/auth/oauth2/AppIdentityCredential.html#intercept(com.google.api.client.http.HttpRequest)) now throws IOException on AppIdentityServiceFailureException.
+ * [[Issue 145](http://code.google.com/p/google-api-java-client/issues/detail?id=145)] Constructors that take required parameters for compile-time checking.
+ * [[Issue 432](http://code.google.com/p/google-api-java-client/issues/detail?id=432)] Some deprecated classes/methods/fields from version 1.7 have been removed.
+ * Updated to [google-http-java-client version 1.8](http://google-http-java-client.blogspot.com/2012/04/version-183-beta-released.html).
+ * Updated to [google-oauth-java-client version 1.8](http://google-oauth-java-client.blogspot.com/2012/04/version-180-beta-released.html).
+
+# Version 1.7.0-beta #
+
+_Mar 12, 2012_
+
+| [New Features in base library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone%3DVersion1.7.0+status%3DFixed&colspec=ID+Type+Priority+Summary&x=component&y=milestone&cells=tiles) | [New Features in generated library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=Milestone%3DCodeGenVersion1.4.0+status%3DFixed&colspec=ID+Type+Priority+Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.7.0-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.7.0-beta/jdiff/changes.html) |
+|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Highlights:
+ * [[Issue 2](http://code.google.com/p/google-api-java-client/issues/detail?id=2)] Resumable media upload is now supported.
+ * [[Issue 365](http://code.google.com/p/google-api-java-client/issues/detail?id=365)] Updated to the latest [OAuth 2.0](http://code.google.com/p/google-api-java-client/wiki/OAuth2) (draft 23).
+ * [[Issue 338](http://code.google.com/p/google-api-java-client/issues/detail?id=338)] Support for client\_secrets.json has been added.
+ * [[Issue 406](http://code.google.com/p/google-api-java-client/issues/detail?id=406)] Google ID Tokens based on JSON Web Tokens is now supported.
+ * [[Issue 321](http://code.google.com/p/google-api-java-client/issues/detail?id=321)] Asserting identity on Google App Engine to Google APIs is now supported.
+ * [[Issue 140](http://code.google.com/p/google-api-java-client/issues/detail?id=140)] Exponential backoff is now supported.
+ * Improvements to the surface of the service-specific generated libraries:
+ * [[Issue 306](http://code.google.com/p/google-api-java-client/issues/detail?id=306)] Top level schema classes which are arrays are now generated correctly.
+ * [[Issue 304](http://code.google.com/p/google-api-java-client/issues/detail?id=304)] Inner classes for unnamed objects.
+ * [[Issue 359](http://code.google.com/p/google-api-java-client/issues/detail?id=359)] OAuth 2.0 scopes are now generated.
+ * Library version now includes a revision number, e.g. “rev2â€, that indicates a revision of the API without changing the version.
+ * [[Issue 407](http://code.google.com/p/google-api-java-client/issues/detail?id=407)] Split and renamed extension projects to be more intuitive.
+ * [[Issue 352](http://code.google.com/p/google-api-java-client/issues/detail?id=352)] Deprecated classes/methods/fields from version 1.6 have been removed.
+ * Updated to [google-http-java-client version 1.7](http://google-http-java-client.blogspot.com/2012/03/version-170-beta-released.html).
+ * Updated to [google-oauth-java-client version 1.7](http://google-oauth-java-client.blogspot.com/2012/03/version-170-beta-released.html).
+
+# Version 1.6.0-beta #
+
+_Nov 8, 2011_
+
+| [New Features in base library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone%3DVersion1.6.0+status%3DFixed&colspec=ID+Type+Priority+Summary&x=component&y=milestone&cells=tiles) | [New Features in generated library](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=Milestone%3DCodeGenVersion1.3.0+status%3DFixed&colspec=ID+Type+Priority+Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.6.0-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.6.0-beta/jdiff/changes.html) |
+|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Highlights:
+ * Many improvements to the surface of the generated libraries. Improvements are listed [here](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=Milestone%3DCodeGenVersion1.3.0+status%3DFixed&colspec=ID+Type+Priority+Summary).
+ * The service-specific client now adheres to the Builder pattern to follow our thread-safety style guidelines.
+ * The global parameters (prettyPrint, fields, keys etc) are now generated in a service-specific class that extends [JsonHttpRequest](http://javadoc.google-http-java-client.googlecode.com/hg/1.6.0-beta/com/google/api/client/http/json/JsonHttpRequest.html) and are initialized with [JsonHttpRequestInitializer](http://javadoc.google-http-java-client.googlecode.com/hg/1.6.0-beta/com/google/api/client/http/json/JsonHttpRequestInitializer.html).
+ * Better exception model by introducing [GoogleJsonResponseException](http://javadoc.google-api-java-client.googlecode.com/hg/1.6.0-beta/com/google/api/client/googleapis/json/GoogleJsonResponseException.html).
+ * Updated to [google-http-java-client](http://code.google.com/p/google-http-java-client/wiki/ReleaseNotes#Version_1.6.0-beta) version 1.6.
+ * Updated to [google-oauth-java-client](http://code.google.com/p/google-oauth-java-client/wiki/ReleaseNotes#Version_1.6.0-beta) version 1.6.
+ * All [samples](http://code.google.com/p/google-api-java-client/source/browse/?repo=samples) have been updated.
+
+# Version 1.5.1-beta #
+
+_Oct 25, 2011_
+
+| [Bugs Fixed](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone=Version1.5.1%20status=Fixed&colspec=ID%20Type%20Priority%20Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.5.1-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.5.1-beta/jdiff/changes.html) |
+|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+[Bugs Fixed](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone=Version1.5.1%20status=Fixed&colspec=ID%20Type%20Priority%20Summary):
+Issue [329](http://code.google.com/p/google-api-java-client/issues/detail?id=329): Update pom.xml to point to google-http-java-client 1.5.3-beta and google-oauth-java-client 1.5.2-beta
+Issue [325](http://code.google.com/p/google-api-java-client/issues/detail?id=325): Add Javadoc that refreshToken can be null in GoogleAccessProtectedResource
+Please take a look at the [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.5.1-beta/index.html).
+
+
+---
+
+
+# Version 1.5.0-beta #
+
+_Sep 19, 2011_
+
+| [New Features](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone=Version1.5.0%20status=Fixed&colspec=ID%20Type%20Priority%20Summary) | [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.5.0-beta/index.html) | [JDiff](http://javadoc.google-api-java-client.googlecode.com/hg/1.5.0-beta/jdiff/changes.html) |
+|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Announcing the release of the new [Google HTTP Client Library for Java](http://code.google.com/p/google-http-java-client) and [Google OAuth Client Library for Java](http://code.google.com/p/google-oauth-java-client) split off from the [Google API Client Library for Java](http://code.google.com/p/google-api-java-client)! These are the core package that work with any HTTP REST, OAuth 1.0a or OAuth 2.0 (draft 10) service on the web.
+
+For more details, please take a look at our blog post on the Google Code Blog ["Google APIs Client Library for Java: now with OAuth 2.0"](http://googlecode.blogspot.com/2011/09/google-apis-client-library-for-java-now.html).
+
+
+---
+
+
+# Version 1.4.1-beta #
+
+_May 7, 2011_
+
+| [JavaDoc](http://javadoc.google-api-java-client.googlecode.com/hg/1.4.1-beta/index.html) | [JDiff relative to 1.3.2-alpha](http://javadoc.google-api-java-client.googlecode.com/hg/1.4.1-beta/jdiff/changes.html) | [New Features](http://code.google.com/p/google-api-java-client/issues/list?can=1&q=milestone%3DVersion1.4.0+status%3DFixed&colspec=ID+Type+Priority+Summary&x=component&y=milestone&cells=tiles) | [Compatibility notes with 1.3](http://google-api-java-client.googlecode.com/hg/google-api-client-assembly/readme.html) |
+|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+Highlights:
+ * [Generated libraries for Google APIs](http://code.google.com/p/google-api-java-client/wiki/Setup#Generated_libraries_for_Google_APIs) based on the new Google API infrastructure, like Google Buzz.
+ * Better OAuth 2.0 support, including ability to [refresh expired tokens](http://javadoc.google-api-java-client.googlecode.com/hg/1.4.1-beta/com/google/api/client/googleapis/auth/oauth2/draft10/GoogleAccessProtectedResource.html), and [servlet-based 3-legged flows](http://javadoc.google-api-java-client.googlecode.com/hg/1.4.1-beta/com/google/api/client/googleapis/extensions/auth/helpers/oauth2/draft10/GoogleOAuth2ThreeLeggedFlow.html) that persist credentials
+ * Smarter data model that supports Java features like enums, generic types, and primitive arrays, as well as support for JSON nulls
+ * [Android JSON Factory](http://javadoc.google-api-java-client.googlecode.com/hg/1.4.1-beta/com/google/api/client/extensions/android3/json/AndroidJsonFactory.html) implementation that works with the built-in streaming JSON library on Honeycomb (SDK 3.0) or higher.
\ No newline at end of file
diff --git a/Samples.md b/Samples.md
new file mode 100644
index 00000000..7ff7fdab
--- /dev/null
+++ b/Samples.md
@@ -0,0 +1,53 @@
+# Available Samples #
+
+To view all the samples that are available for the Google APIs Client Library for Java, browse through the [samples in the project site](http://code.google.com/p/google-api-java-client/source/browse?repo=samples). Each sample has an instructions.html file that explains how to set up and use the sample. (To more easily view the instructions in a browser, visit http://samples.google-api-java-client.googlecode.com/hg/.)
+
+We welcome contributions for samples for other APIs, as described in our guide to [becoming a contributor](BecomingAContributor.md).
+
+If you would like to request a sample for other APIs that are not listed here, please post your requests on the API specific sites such as developers.google.com or [StackOverflow](http://stackoverflow.com/)
+
+
+# Google+ Sample #
+
+A complete Google+ example is given in the [plus-cmdline-sample](http://samples.google-api-java-client.googlecode.com/hg/plus-cmdline-sample/instructions.html) sample.
+
+The following code snippet shows a short example of how to use the client library with the [Google+ API](https://developers.google.com/+/api/).
+
+```
+...
+
+String APPLICATION_NAME = "PlusSample";
+java.io.File DATA_STORE_DIR =
+ new java.io.File(System.getProperty("user.home"), ".store/plus_sample");
+FileDataStoreFactory dataStoreFactory;
+
+// Set up the HTTP transport and JSON factory
+HttpTransport httpTransport = GoogleNetHttpTransport.newTrustedTransport();
+JsonFactory jsonFactory = JacksonFactory.getDefaultInstance();
+
+// Load client secrets
+GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(jsonFactory,
+ new InputStreamReader(PlusSample.class.getResourceAsStream("/client_secrets.json")));
+
+// Set up authorization code flow
+GoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder(
+ httpTransport, jsonFactory, clientSecrets,
+ Collections.singleton(PlusScopes.PLUS_ME)).setDataStoreFactory(dataStoreFactory)
+ .build();
+
+// Authorize
+Credential credential =
+ new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize("user");
+
+// Set up the main Google+ class
+Plus plus = new Plus.Builder(httpTransport, jsonFactory, credential)
+ .setApplicationName(APPLICATION_NAME)
+ .build();
+
+// Make a request to access your profile and display it to console
+Person profile = plus.people().get("me").execute();
+System.out.println("ID: " + profile.getId());
+System.out.println("Name: " + profile.getDisplayName());
+System.out.println("Image URL: " + profile.getImage().getUrl());
+System.out.println("Profile URL: " + profile.getUrl());
+```
\ No newline at end of file
diff --git a/Setup.md b/Setup.md
new file mode 100644
index 00000000..cd41604a
--- /dev/null
+++ b/Setup.md
@@ -0,0 +1,264 @@
+You can download the Google APIs Client Library for Java and its dependencies in a zip file, or you can use Maven.
+
+
+Also see the [ProGuard setup instructions](http://code.google.com/p/google-http-java-client/wiki/Setup#ProGuard) that are part of the Google HTTP Client Library for Java documentation.
+
+# Download the Library with Dependencies #
+
+Download the latest zip file, which you can find on the [Downloads page](Downloads.md), and extract it on your computer. This zip file contains the client library class .jar files and the associated source .jar files for each artifact and their dependencies. You can find dependency graphs and licenses for the different libraries in the dependencies folder. For more details about the contents of the download, see the readme.html file.
+
+## Eclipse ##
+
+If you use [Eclipse](http://www.eclipse.org), set the "Source attachment" for each class .jar file to its corresponding "-sources" .jar file.
+
+## Android ##
+
+If you are developing for Android and the Google API you want to use is included in the [Google Play Services library](https://developer.android.com/google/play-services/index.html), use that library for the best performance and experience.
+
+If you are using the Google APIs Client Library for Java with Android, it is important to know which dependencies are compatible with Android, specifically which Android SDK level. Android applications require the following .jar files, or newer compatible versions, from the libs folder:
+ * google-api-client-1.18.0-rc.jar
+ * google-api-client-android-1.18.0-rc.jar
+ * google-oauth-client-1.18.0-rc.jar
+ * google-http-client-1.18.0-rc.jar
+ * google-http-client-android-1.18.0-rc.jar
+ * gson-2.1.jar
+ * jackson-core-asl-1.9.11.jar
+ * jackson-core-2.1.3.jar
+ * jsr305-1.3.9.jar
+ * protobuf-java-2.4.1.jar
+
+**WARNING:** For Android, you MUST place the .jar files in a directory named "libs" so that the APK packager can find them. Otherwise, you will get a `NoClassDefFoundError` error at runtime.
+
+## Google App Engine ##
+
+Google App Engine applications require the following .jar files, or newer compatible versions, from the libs folder:
+ * google-api-client-1.18.0-rc.jar
+ * google-api-client-appengine-1.18.0-rc.jar
+ * google-api-client-servlet-1.18.0-rc.jar
+ * google-oauth-client-1.18.0-rc.jar
+ * google-oauth-client-appengine-1.18.0-rc.jar
+ * google-oauth-client-servlet-1.18.0-rc.jar
+ * google-http-client-1.18.0-rc.jar
+ * google-http-client-appengine-1.18.0-rc.jar
+ * gson-2.1.jar
+ * jackson-core-asl-1.9.11.jar
+ * jackson-core-2.1.3.jar
+ * jdo2-api-2.3-eb.jar
+ * jsr305-1.3.9.jar
+ * protobuf-java-2.4.1.jar
+ * transaction-api-1.1.jar
+ * xpp3-1.1.4c.jar
+
+## Servlet ##
+
+Servlet applications require the following .jar files, or newer compatible versions, from the libs folder:
+ * google-api-client-1.18.0-rc.jar
+ * google-api-client-servlet-1.18.0-rc.jar
+ * google-oauth-client-1.18.0-rc.jar
+ * google-oauth-client-servlet-1.18.0-rc.jar
+ * google-http-client-1.18.0-rc.jar
+ * commons-logging-1.1.1.jar
+ * gson-2.1.jar
+ * httpclient-4.0.1.jar
+ * httpcore-4.0.1.jar
+ * jackson-core-asl-1.9.11.jar
+ * jackson-core-2.1.3.jar
+ * jdo2-api-2.3-eb.jar
+ * jsr305-1.3.9.jar
+ * protobuf-java-2.4.1.jar
+ * transaction-api-1.1.jar
+ * xpp3-1.1.4c.jar
+
+## Generic Java ##
+
+General purpose Java 5 applications require the following .jar files, or newer compatible versions, from the libs folder:
+ * google-api-client-1.18.0-rc.jar
+ * google-oauth-client-1.18.0-rc.jar
+ * google-http-client-1.18.0-rc.jar
+ * google-http-client-jackson2-1.18.0-rc.jar
+ * commons-logging-1.1.1.jar
+ * gson-2.1.jar
+ * httpclient-4.0.1.jar
+ * httpcore-4.0.1.jar
+ * jackson-core-asl-1.9.11.jar
+ * jackson-core-2.1.3.jar
+ * jsr305-1.3.9.jar
+ * protobuf-java-2.4.1.jar
+ * xpp3-1.1.4c.jar
+
+# Generated Libraries for Google APIs #
+
+Take a look at the [setup instructions for the generated libraries for Google APIs](https://developers.google.com/api-client-library/java/apis/).
+
+# Maven #
+
+The Google APIs Client Library for Java is in the central [Maven](http://maven.apache.org) repository. The Maven `groupId` for all artifacts for this library is `com.google.api-client`. Specific Maven instructions are given for each module (below).
+
+If you use [Eclipse](http://www.eclipse.org), install the [Maven plugin](http://www.eclipse.org/m2e/). Also make sure to set your Eclipse preferences as follows:
+ 1. Within Eclipse, select **Window > Preferences** (or on Mac, **Eclipse > Preferences**).
+ 1. Select **Maven** and select the following options:
+ * "Download Artifact Sources"
+ * "Download Artifact JavaDoc"
+
+# Google Plugin for Eclipse #
+
+With Google Plugin for Eclipse 2.6, you can [add Google APIs to your App Engine or Android project](https://developers.google.com/eclipse/docs/googleapis). To do this:
+ 1. Within Eclipse, right-click on a project and select **Google > Add Google APIs**.
+ 1. Select the Google API you need from the list of available Google APIs.
+ 1. Click Finish.
+Eclipse will automatically download the API client library (along with its dependencies and source) onto your project's classpath and into the war/WEB-INF/lib directory. It will provide you with update notifications when the Google API or the client library has been updated.
+
+**WARNING:** Eclipse will show "Update available" when a newer version of the library is available. To update, use the same **Google > Add Google APIs** utility. Make sure to update all the Google API libraries on your project. Also, you must remove any old versions of the .jar files that this tool updates in your war/WEB-INF/lib directory.
+
+# Modules #
+
+This library is composed of nine modules: [google-api-client](#google-api-client.md), [google-api-client-android](#google-api-client-android.md), [google-api-client-appengine](#google-api-client-appengine.md), [google-api-client-servlet](#google-api-client-servlet.md), [google-api-client-gson](#google-api-client-gson.md), [google-api-client-jackson2](#google-api-client-jackson2.md), [google-api-client-java6](#google-api-client-java6.md), [google-api-client-protobuf](#google-api-client-protobuf.md), and [google-api-client-xml](#google-api-client-xml.md).
+
+## google-api-client ##
+
+The Google HTTP Client Library for Java (google-api-client) is designed to be compatible with all supported Java platforms, including Android.
+
+Maven usage:
+
+```
+
- * Account manager wrapper for Google accounts.
- *
- * @since 1.11
- * @author Yaniv Inbar
- */
-@Beta
-public final class GoogleAccountManager {
-
- /** Google account type. */
- public static final String ACCOUNT_TYPE = "com.google";
-
- /** Account manager. */
- private final AccountManager manager;
-
- /**
- * @param accountManager account manager
- */
- public GoogleAccountManager(AccountManager accountManager) {
- this.manager = Preconditions.checkNotNull(accountManager);
- }
-
- /**
- * @param context context from which to retrieve the account manager
- */
- public GoogleAccountManager(Context context) {
- this(AccountManager.get(context));
- }
-
- /**
- * Returns the account manager.
- *
- * @since 1.8
- */
- public AccountManager getAccountManager() {
- return manager;
- }
-
- /**
- * Returns all Google accounts.
- *
- * @return array of Google accounts
- */
- public Account[] getAccounts() {
- return manager.getAccountsByType("com.google");
- }
-
- /**
- * Returns the Google account of the given {@link Account#name}.
- *
- * @param accountName Google account name or {@code null} for {@code null} result
- * @return Google account or {@code null} for none found or for {@code null} input
- */
- public Account getAccountByName(String accountName) {
- if (accountName != null) {
- for (Account account : getAccounts()) {
- if (accountName.equals(account.name)) {
- return account;
- }
- }
- }
- return null;
- }
-
- /**
- * Invalidates the given Google auth token by removing it from the account manager's cache (if
- * necessary) for example if the auth token has expired or otherwise become invalid.
- *
- * @param authToken auth token
- */
- public void invalidateAuthToken(String authToken) {
- manager.invalidateAuthToken(ACCOUNT_TYPE, authToken);
- }
-}
diff --git a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/accounts/package-info.java b/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/accounts/package-info.java
deleted file mode 100644
index 71655b40..00000000
--- a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/accounts/package-info.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2012 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-
-/**
- * {@link com.google.api.client.util.Beta}
- * Utilities for Account Manager for Google accounts on Android Eclair (SDK 2.1) and later.
- *
- * @since 1.11
- * @author Yaniv Inbar
- */
-@com.google.api.client.util.Beta
-package com.google.api.client.googleapis.extensions.android.accounts;
-
diff --git a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAccountCredential.java b/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAccountCredential.java
deleted file mode 100644
index 5e911ce3..00000000
--- a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAccountCredential.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-
-package com.google.api.client.googleapis.extensions.android.gms.auth;
-
-import com.google.android.gms.auth.GoogleAuthException;
-import com.google.android.gms.auth.GoogleAuthUtil;
-import com.google.android.gms.auth.GooglePlayServicesAvailabilityException;
-import com.google.android.gms.auth.UserRecoverableAuthException;
-import com.google.android.gms.common.AccountPicker;
-import com.google.api.client.googleapis.extensions.android.accounts.GoogleAccountManager;
-import com.google.api.client.http.HttpExecuteInterceptor;
-import com.google.api.client.http.HttpRequest;
-import com.google.api.client.http.HttpRequestInitializer;
-import com.google.api.client.http.HttpResponse;
-import com.google.api.client.http.HttpUnsuccessfulResponseHandler;
-import com.google.api.client.util.BackOff;
-import com.google.api.client.util.BackOffUtils;
-import com.google.api.client.util.Beta;
-import com.google.api.client.util.ExponentialBackOff;
-import com.google.api.client.util.Joiner;
-import com.google.api.client.util.Preconditions;
-import com.google.api.client.util.Sleeper;
-
-import android.accounts.Account;
-import android.content.Context;
-import android.content.Intent;
-
-import java.io.IOException;
-import java.util.Collection;
-
-/**
- * {@link Beta}
- * Manages authorization and account selection for Google accounts.
- *
- *
- *
- *
- * Upgrade warning: in prior version 1.14 exponential back-off was enabled by default when I/O - * exception was thrown inside {@link #getToken}, but starting with version 1.15 you need to call - * {@link #setBackOff} with {@link ExponentialBackOff} to enable it. - *
- * - * @since 1.12 - * @author Yaniv Inbar - */ -@Beta -public class GoogleAccountCredential implements HttpRequestInitializer { - - /** Context. */ - final Context context; - - /** Scope to use on {@link GoogleAuthUtil#getToken}. */ - final String scope; - - /** Google account manager. */ - private final GoogleAccountManager accountManager; - - /** - * Selected Google account name (e-mail address), for example {@code "johndoe@gmail.com"}, or - * {@code null} for none. - */ - private String accountName; - - /** Selected Google account or {@code null} for none. */ - private Account selectedAccount; - - /** Sleeper. */ - private Sleeper sleeper = Sleeper.DEFAULT; - - /** - * Back-off policy which is used when an I/O exception is thrown inside {@link #getToken} or - * {@code null} for none. - */ - private BackOff backOff; - - /** - * @param context context - * @param scope scope to use on {@link GoogleAuthUtil#getToken} - */ - public GoogleAccountCredential(Context context, String scope) { - accountManager = new GoogleAccountManager(context); - this.context = context; - this.scope = scope; - } - - /** - * Constructs a new instance using OAuth 2.0 scopes. - * - * @param context context - * @param scopes non empty OAuth 2.0 scope list - * @return new instance - * - * @since 1.15 - */ - public static GoogleAccountCredential usingOAuth2(Context context, Collection- * Must be run from the main UI thread. - *
- */ - public final Intent newChooseAccountIntent() { - return AccountPicker.newChooseAccountIntent(selectedAccount, - null, - new String[] {GoogleAccountManager.ACCOUNT_TYPE}, - true, - null, - null, - null, - null); - } - - /** - * Returns an OAuth 2.0 access token. - * - *- * Must be run from a background thread, not the main UI thread. - *
- */ - public String getToken() throws IOException, GoogleAuthException { - if (backOff != null) { - backOff.reset(); - } - - while (true) { - try { - return GoogleAuthUtil.getToken(context, accountName, scope); - } catch (IOException e) { - // network or server error, so retry using back-off policy - try { - if (backOff == null || !BackOffUtils.next(sleeper, backOff)) { - throw e; - } - } catch (InterruptedException e2) { - // ignore - } - } - } - } - - - @Beta - class RequestHandler implements HttpExecuteInterceptor, HttpUnsuccessfulResponseHandler { - - /** Whether we've received a 401 error code indicating the token is invalid. */ - boolean received401; - String token; - - public void intercept(HttpRequest request) throws IOException { - try { - token = getToken(); - request.getHeaders().setAuthorization("Bearer " + token); - } catch (GooglePlayServicesAvailabilityException e) { - throw new GooglePlayServicesAvailabilityIOException(e); - } catch (UserRecoverableAuthException e) { - throw new UserRecoverableAuthIOException(e); - } catch (GoogleAuthException e) { - throw new GoogleAuthIOException(e); - } - } - - public boolean handleResponse( - HttpRequest request, HttpResponse response, boolean supportsRetry) { - if (response.getStatusCode() == 401 && !received401) { - received401 = true; - GoogleAuthUtil.invalidateToken(context, token); - return true; - } - return false; - } - } -} diff --git a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAuthIOException.java b/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAuthIOException.java deleted file mode 100644 index b51cabbe..00000000 --- a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAuthIOException.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.api.client.googleapis.extensions.android.gms.auth; - -import com.google.android.gms.auth.GoogleAuthException; -import com.google.api.client.util.Beta; -import com.google.api.client.util.Preconditions; - -import java.io.IOException; - -/** - * {@link Beta}- * Use {@link #getCause()} to get the wrapped {@link GoogleAuthException}. - *
- * - * @since 1.12 - * @author Yaniv Inbar - */ -@Beta -public class GoogleAuthIOException extends IOException { - - private static final long serialVersionUID = 1L; - - /** - * @param wrapped wrapped {@link GoogleAuthException} - */ - GoogleAuthIOException(GoogleAuthException wrapped) { - initCause(Preconditions.checkNotNull(wrapped)); - } - - @Override - public GoogleAuthException getCause() { - return (GoogleAuthException) super.getCause(); - } -} diff --git a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GooglePlayServicesAvailabilityIOException.java b/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GooglePlayServicesAvailabilityIOException.java deleted file mode 100644 index 7d35b661..00000000 --- a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GooglePlayServicesAvailabilityIOException.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.api.client.googleapis.extensions.android.gms.auth; - -import com.google.android.gms.auth.GooglePlayServicesAvailabilityException; -import com.google.android.gms.common.GooglePlayServicesUtil; -import com.google.api.client.util.Beta; - -import android.app.Activity; - -import java.io.IOException; - -/** - * {@link Beta}- * Use {@link #getConnectionStatusCode()} to display the error dialog. Alternatively, use - * {@link #getCause()} to get the wrapped {@link GooglePlayServicesAvailabilityException}. Example - * usage: - *
- * - *
- } catch (final GooglePlayServicesAvailabilityIOException availabilityException) {
- myActivity.runOnUiThread(new Runnable() {
- public void run() {
- Dialog dialog = GooglePlayServicesUtil.getErrorDialog(
- availabilityException.getConnectionStatusCode(),
- myActivity,
- MyActivity.REQUEST_GOOGLE_PLAY_SERVICES);
- dialog.show();
- }
- });
- *
- *
- * @since 1.12
- * @author Yaniv Inbar
- */
-@Beta
-public class GooglePlayServicesAvailabilityIOException extends UserRecoverableAuthIOException {
-
- private static final long serialVersionUID = 1L;
-
- GooglePlayServicesAvailabilityIOException(GooglePlayServicesAvailabilityException wrapped) {
- super(wrapped);
- }
-
- @Override
- public GooglePlayServicesAvailabilityException getCause() {
- return (GooglePlayServicesAvailabilityException) super.getCause();
- }
-
- /**
- * Returns the error code to use with
- * {@link GooglePlayServicesUtil#getErrorDialog(int, Activity, int)}.
- */
- public final int getConnectionStatusCode() {
- return getCause().getConnectionStatusCode();
- }
-}
diff --git a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/UserRecoverableAuthIOException.java b/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/UserRecoverableAuthIOException.java
deleted file mode 100644
index c047d3ea..00000000
--- a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/UserRecoverableAuthIOException.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-
-package com.google.api.client.googleapis.extensions.android.gms.auth;
-
-import com.google.android.gms.auth.UserRecoverableAuthException;
-import com.google.api.client.util.Beta;
-
-import android.app.Activity;
-import android.content.Intent;
-
-import java.io.IOException;
-
-/**
- * {@link Beta} - * Use {@link #getIntent()} to allow user interaction to recover. Alternatively, use - * {@link #getCause()} to get the wrapped {@link UserRecoverableAuthException}. Example usage: - *
- * - *
- } catch (UserRecoverableAuthIOException userRecoverableException) {
- myActivity.startActivityForResult(
- userRecoverableException.getIntent(), MyActivity.REQUEST_AUTHORIZATION);
- }
- *
- *
- * @since 1.12
- * @author Yaniv Inbar
- */
-@Beta
-public class UserRecoverableAuthIOException extends GoogleAuthIOException {
-
- private static final long serialVersionUID = 1L;
-
- UserRecoverableAuthIOException(UserRecoverableAuthException wrapped) {
- super(wrapped);
- }
-
- @Override
- public UserRecoverableAuthException getCause() {
- return (UserRecoverableAuthException) super.getCause();
- }
-
- /**
- * Returns the {@link Intent} that when supplied to
- * {@link Activity#startActivityForResult(Intent, int)} will allow user intervention.
- */
- public final Intent getIntent() {
- return getCause().getIntent();
- }
-}
diff --git a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/package-info.java b/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/package-info.java
deleted file mode 100644
index 5ad2c183..00000000
--- a/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/package-info.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-
-/**
- * {@link com.google.api.client.util.Beta} - * Intercepts the request by using the access token obtained from - * {@link AppIdentityService#getAccessToken(Iterable)}. - *
- * - *- * Sample usage: - *
- * - *
- public static HttpRequestFactory createRequestFactory(
- HttpTransport transport, JsonFactory jsonFactory, TokenResponse tokenResponse) {
- return transport.createRequestFactory(
- new AppIdentityCredential("https://www.googleapis.com/auth/urlshortener"));
- }
- *
- *
- * - * Implementation is immutable and thread-safe. - *
- * - * @since 1.7 - * @author Yaniv Inbar - */ -public class AppIdentityCredential implements HttpRequestInitializer, HttpExecuteInterceptor { - - /** App Identity Service that provides the access token. */ - private final AppIdentityService appIdentityService; - - /** OAuth scopes (unmodifiable). */ - private final Collection- * Implementation is not thread-safe. - *
- * - * @since 1.12 - */ - public static class Builder { - - /** - * App Identity Service that provides the access token or {@code null} to use - * {@link AppIdentityServiceFactory#getAppIdentityService()}. - */ - AppIdentityService appIdentityService; - - /** OAuth scopes (unmodifiable). */ - final Collection- * Overriding is only supported for the purpose of calling the super implementation and changing - * the return type, but nothing else. - *
- */ - public Builder setAppIdentityService(AppIdentityService appIdentityService) { - this.appIdentityService = appIdentityService; - return this; - } - - /** - * Returns a new {@link AppIdentityCredential}. - */ - public AppIdentityCredential build() { - return new AppIdentityCredential(this); - } - - /** - * Returns the OAuth scopes (unmodifiable). - * - * @since 1.14 - */ - public final Collection- * In order to use this servlet you need to register the servlet in your web.xml. You may optionally - * extend {@link AppEngineNotificationServlet} with custom behavior. - *
- * - *- * It is a simple wrapper around {@link WebhookUtils#processWebhookNotification(HttpServletRequest, - * HttpServletResponse, DataStoreFactory)} that uses - * {@link AppEngineDataStoreFactory#getDefaultInstance()}, so you may alternatively call that method - * instead from your {@link HttpServlet#doPost} with no loss of functionality. - *
- * - * Sample web.xml setup: - * - *
- {@literal <}servlet{@literal >}
- {@literal <}servlet-name{@literal >}AppEngineNotificationServlet{@literal <}/servlet-name{@literal >}
- {@literal <}servlet-class{@literal >}com.google.api.client.googleapis.extensions.appengine.notifications.AppEngineNotificationServlet{@literal <}/servlet-class{@literal >}
- {@literal <}/servlet{@literal >}
- {@literal <}servlet-mapping{@literal >}
- {@literal <}servlet-name{@literal >}AppEngineNotificationServlet{@literal <}/servlet-name{@literal >}
- {@literal <}url-pattern{@literal >}/notifications{@literal <}/url-pattern{@literal >}
- {@literal <}/servlet-mapping{@literal >}
- *
- *
- * @author Yaniv Inbar
- * @since 1.16
- */
-@Beta
-public class AppEngineNotificationServlet extends HttpServlet {
-
- private static final long serialVersionUID = 1L;
-
- @Override
- protected void doPost(HttpServletRequest req, HttpServletResponse resp)
- throws ServletException, IOException {
- WebhookUtils.processWebhookNotification(
- req, resp, AppEngineDataStoreFactory.getDefaultInstance());
- }
-}
diff --git a/google-api-client-appengine/src/main/java/com/google/api/client/googleapis/extensions/appengine/notifications/package-info.java b/google-api-client-appengine/src/main/java/com/google/api/client/googleapis/extensions/appengine/notifications/package-info.java
deleted file mode 100644
index bc0e761e..00000000
--- a/google-api-client-appengine/src/main/java/com/google/api/client/googleapis/extensions/appengine/notifications/package-info.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2013 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-
-/**
- * {@link com.google.api.client.util.Beta} The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-android | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.android | -android | -4.1.1.4 | -jar | -Apache 2.0 |
| com.google.android.google-play-services | -google-play-services | -1 | -jar | -- |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| org.json | -json | -20080701 | -jar | -provided without support or warranty |
| org.khronos | -opengl-api | -gl1.1-android-2.1_r1 | -jar | -Apache 2.0 |
| xerces | -xmlParserAPIs | -2.6.2 | -jar | -- |
| xpp3 | -xpp3 | -1.1.4c | -jar | -Indiana University Extreme! Lab Software License, vesion 1.1.1-Public Domain-Apache Software License, version 1.1 |
Apache Software License, version 1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Public Domain: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Unknown: google-play-services, xmlParserAPIs
-Apache License: HttpClient, HttpCore
-provided without support or warranty: JSON (JavaScript Object Notation)
-Apache 2.0: Google Android Java ME Library (Khronos), Google Android Library
-The Apache Software License, Version 2.0: Android Platform Extensions to the Google APIs Client Library for Java., Android Platform Extensions to the Google HTTP Client Library for Java., Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core
-Indiana University Extreme! Lab Software License, vesion 1.1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| android-4.1.1.4.jar | -12.35 MB | -7,264 | -1,698 | -71 | -1.5 | -debug |
| google-play-services-1.jar | -1.22 MB | -1,252 | -1,251 | -46 | -1.6 | -release |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-android-1.20.0-SNAPSHOT.jar | -11.77 kB | -21 | -11 | -3 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| json-20080701.jar | -36.99 kB | -26 | -17 | -1 | -1.3 | -debug |
| opengl-api-gl1.1-android-2.1_r1.jar | -18.06 kB | -25 | -13 | -2 | -1.5 | -debug |
| xmlParserAPIs-2.6.2.jar | -121.80 kB | -238 | -207 | -17 | -1.1 | -release |
| xpp3-1.1.4c.jar | -117.25 kB | -78 | -56 | -13 | -1.1 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 18 | -16.86 MB | -11,457 | -5,552 | -261 | -1.6 | -16 |
| compile: 12 | -compile: 3.00 MB | -compile: 2,574 | -compile: 2,310 | -compile: 111 | -- | -compile: 12 |
| provided: 6 | -provided: 13.86 MB | -provided: 8,883 | -provided: 3,242 | -provided: 150 | -- | -provided: 4 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.api-client | -google-api-client-servlet | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-appengine | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client-appengine | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.appengine | -appengine-api-labs | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.appengine | -appengine-api-stubs | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.appengine | -appengine-testing | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.appengine | -appengine-api-1.0-sdk | -1.7.7 | -jar | -Google App Engine Terms of Service |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jdo | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client-servlet | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| javax.jdo | -jdo2-api | -2.3-eb | -jar | -Apache 2 |
| javax.servlet | -servlet-api | -2.5 | -jar | -- |
| javax.transaction | -transaction-api | -1.1 | -jar | -- |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
Google App Engine Terms of Service: appengine-api-1.0-sdk, appengine-api-labs, appengine-api-stubs, appengine-testing
-Apache 2: JDO2 API
-Unknown: servlet-api, transaction-api
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google App Engine extensions to the Google API Client Library for Java., Google App Engine extensions to the Google HTTP Client Library for Java., Google App Engine extensions to the Google OAuth Client Library for Java., Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, JDO extensions to the Google HTTP Client Library for Java., Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, Servlet and JDO extensions to the Google API Client Library for Java., Servlet and JDO extensions to the Google OAuth Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| google-api-client-servlet-1.20.0-SNAPSHOT.jar | -6.57 kB | -14 | -4 | -1 | -1.5 | -debug |
| appengine-api-1.0-sdk-1.7.7.jar | -30.66 MB | -6,566 | -6,044 | -86 | -1.6 | -debug |
| appengine-api-labs-1.7.7.jar | -10.94 MB | -1,448 | -1,374 | -10 | -1.6 | -debug |
| appengine-api-stubs-1.7.7.jar | -12.16 MB | -3,098 | -2,785 | -167 | -1.6 | -debug |
| appengine-testing-1.7.7.jar | -10.32 MB | -2,293 | -2,265 | -26 | -1.6 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-appengine-1.20.0-SNAPSHOT.jar | -15.34 kB | -21 | -11 | -2 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-http-client-jdo-1.20.0-SNAPSHOT.jar | -11.08 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| google-oauth-client-appengine-1.20.0-SNAPSHOT.jar | -7.77 kB | -17 | -7 | -2 | -1.5 | -debug |
| google-oauth-client-servlet-1.20.0-SNAPSHOT.jar | -21.61 kB | -24 | -11 | -4 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| jdo2-api-2.3-eb.jar | -188.18 kB | -226 | -182 | -7 | -1.5 | -debug |
| servlet-api-2.5.jar | -102.65 kB | -68 | -42 | -2 | -1.5 | -debug |
| transaction-api-1.1.jar | -14.72 kB | -24 | -18 | -2 | -1.3 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 24 | -67.65 MB | -16,632 | -15,277 | -448 | -1.6 | -24 |
| compile: 16 | -compile: 1.43 MB | -compile: 1,441 | -compile: 1,113 | -compile: 107 | -- | -compile: 16 |
| test: 7 | -test: 35.55 MB | -test: 8,625 | -test: 8,120 | -test: 255 | -- | -test: 7 |
| provided: 1 | -provided: 30.66 MB | -provided: 6,566 | -provided: 6,044 | -provided: 86 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client-gson | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-protobuf | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.gson | -gson | -2.1 | -jar | -The Apache Software License, Version 2.0 |
| com.google.protobuf | -protobuf-java | -2.4.1 | -jar | -New BSD license |
Apache License: HttpClient, HttpCore
-New BSD license: Protocol Buffer Java API
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, GSON extensions to the Google HTTP Client Library for Java., Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Gson, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, Protocol Buffer extensions to the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| gson-2.1.jar | -175.89 kB | -158 | -148 | -6 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-gson-1.20.0-SNAPSHOT.jar | -8.36 kB | -14 | -6 | -1 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-http-client-protobuf-1.20.0-SNAPSHOT.jar | -5.13 kB | -14 | -5 | -2 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| protobuf-java-2.4.1.jar | -439.73 kB | -214 | -204 | -1 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 15 | -3.82 MB | -3,263 | -2,841 | -127 | -1.5 | -15 |
| compile: 9 | -compile: 2.76 MB | -compile: 2,378 | -compile: 2,172 | -compile: 81 | -- | -compile: 9 |
| test: 5 | -test: 860.89 kB | -test: 667 | -test: 593 | -test: 40 | -- | -test: 5 |
| provided: 1 | -provided: 227.32 kB | -provided: 218 | -provided: 76 | -provided: 6 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-gson | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.gson | -gson | -2.1 | -jar | -The Apache Software License, Version 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, GSON extensions to the Google APIs Client Library for Java, GSON extensions to the Google HTTP Client Library for Java., Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Gson, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| gson-2.1.jar | -175.89 kB | -158 | -148 | -6 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-gson-1.20.0-SNAPSHOT.jar | -8.36 kB | -14 | -6 | -1 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 13 | -3.17 MB | -2,725 | -2,453 | -115 | -1.5 | -13 |
| compile: 13 | -compile: 3.17 MB | -compile: 2,725 | -compile: 2,453 | -compile: 115 | -- | -compile: 13 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google APIs Client Library for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 11 | -2.99 MB | -2,553 | -2,299 | -108 | -1.5 | -11 |
| compile: 11 | -compile: 2.99 MB | -compile: 2,553 | -compile: 2,299 | -compile: 108 | -- | -compile: 11 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client-java6 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, Java 6 (and higher) Extensions to the Google API Client Library for Java., Java 6 (and higher) extensions to the Google OAuth Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| google-oauth-client-java6-1.20.0-SNAPSHOT.jar | -10.67 kB | -16 | -6 | -1 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 13 | -3.22 MB | -2,836 | -2,535 | -139 | -1.5 | -13 |
| compile: 12 | -compile: 3.00 MB | -compile: 2,569 | -compile: 2,305 | -compile: 109 | -- | -compile: 12 |
| test: 1 | -test: 231.78 kB | -test: 267 | -test: 230 | -test: 30 | -- | -test: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-protobuf | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.protobuf | -protobuf-java | -2.4.1 | -jar | -New BSD license |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-New BSD license: Protocol Buffer Java API
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, Protocol Buffer extensions to the Google APIs Client Library for Java, Protocol Buffer extensions to the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-http-client-protobuf-1.20.0-SNAPSHOT.jar | -5.13 kB | -14 | -5 | -2 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| protobuf-java-2.4.1.jar | -439.73 kB | -214 | -204 | -1 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 14 | -3.65 MB | -3,048 | -2,738 | -141 | -1.5 | -14 |
| compile: 13 | -compile: 3.42 MB | -compile: 2,781 | -compile: 2,508 | -compile: 111 | -- | -compile: 13 |
| test: 1 | -test: 231.78 kB | -test: 267 | -test: 230 | -test: 30 | -- | -test: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client-servlet | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| javax.jdo | -jdo2-api | -2.3-eb | -jar | -Apache 2 |
| javax.servlet | -servlet-api | -2.5 | -jar | -- |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson2 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jdo | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.3 | -jar | -/LICENSE.txt |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| javax.transaction | -transaction-api | -1.1 | -jar | -- |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache 2: JDO2 API
-Unknown: servlet-api, transaction-api
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, JDO extensions to the Google HTTP Client Library for Java., Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, Servlet and JDO extensions to the Google API Client Library for Java., Servlet and JDO extensions to the Google OAuth Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-http-client-jdo-1.20.0-SNAPSHOT.jar | -11.08 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| google-oauth-client-servlet-1.20.0-SNAPSHOT.jar | -21.61 kB | -24 | -11 | -4 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| jdo2-api-2.3-eb.jar | -188.18 kB | -226 | -182 | -7 | -1.5 | -debug |
| servlet-api-2.5.jar | -102.65 kB | -68 | -42 | -2 | -1.5 | -debug |
| transaction-api-1.1.jar | -14.72 kB | -24 | -18 | -2 | -1.3 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 17 | -3.54 MB | -3,175 | -2,787 | -154 | -1.5 | -17 |
| compile: 16 | -compile: 3.32 MB | -compile: 2,908 | -compile: 2,557 | -compile: 124 | -- | -compile: 16 |
| test: 1 | -test: 231.78 kB | -test: 267 | -test: 230 | -test: 30 | -- | -test: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.api-client | -google-api-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-xml | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-Apache Software License, version 1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Public Domain: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Codec, Commons Logging, FindBugs-jsr305, Google APIs Client Library for Java, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, XML extensions to the Google APIs Client Library for Java, XML extensions to the Google HTTP Client Library for Java.
-Indiana University Extreme! Lab Software License, vesion 1.1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| google-api-client-1.20.0-SNAPSHOT.jar | -184.78 kB | -133 | -102 | -22 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson2-1.20.0-SNAPSHOT.jar | -6.57 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-http-client-xml-1.20.0-SNAPSHOT.jar | -27.41 kB | -28 | -17 | -4 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| commons-codec-1.3.jar | -45.63 kB | -42 | -25 | -5 | -1.2 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| xpp3-1.1.4c.jar | -117.25 kB | -78 | -56 | -13 | -1.1 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 14 | -3.35 MB | -2,926 | -2,602 | -155 | -1.5 | -14 |
| compile: 13 | -compile: 3.13 MB | -compile: 2,659 | -compile: 2,372 | -compile: 125 | -- | -compile: 13 |
| test: 1 | -test: 231.78 kB | -test: 267 | -test: 230 | -test: 30 | -- | -test: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.android | -android | -4.1.1.4 | -jar | -Apache 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| org.json | -json | -20080701 | -jar | -provided without support or warranty |
| org.khronos | -opengl-api | -gl1.1-android-2.1_r1 | -jar | -Apache 2.0 |
| xerces | -xmlParserAPIs | -2.6.2 | -jar | -- |
| xpp3 | -xpp3 | -1.1.4c | -jar | -Indiana University Extreme! Lab Software License, vesion 1.1.1-Public Domain-Apache Software License, version 1.1 |
Apache Software License, version 1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Public Domain: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Unknown: xmlParserAPIs
-Apache License: HttpClient, HttpCore
-provided without support or warranty: JSON (JavaScript Object Notation)
-Apache 2.0: Google Android Java ME Library (Khronos), Google Android Library
-The Apache Software License, Version 2.0: Android Platform Extensions to the Google HTTP Client Library for Java., Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java
-Indiana University Extreme! Lab Software License, vesion 1.1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| android-4.1.1.4.jar | -12.35 MB | -7,264 | -1,698 | -71 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| json-20080701.jar | -36.99 kB | -26 | -17 | -1 | -1.3 | -debug |
| opengl-api-gl1.1-android-2.1_r1.jar | -18.06 kB | -25 | -13 | -2 | -1.5 | -debug |
| xmlParserAPIs-2.6.2.jar | -121.80 kB | -238 | -207 | -17 | -1.1 | -release |
| xpp3-1.1.4c.jar | -117.25 kB | -78 | -56 | -13 | -1.1 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 11 | -13.65 MB | -8,651 | -2,726 | -166 | -1.5 | -10 |
| compile: 6 | -compile: 1.01 MB | -compile: 1,020 | -compile: 735 | -compile: 62 | -- | -compile: 6 |
| provided: 5 | -provided: 12.64 MB | -provided: 7,631 | -provided: 1,991 | -provided: 104 | -- | -provided: 4 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.appengine | -appengine-api-stubs | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.appengine | -appengine-testing | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-test | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.appengine | -appengine-api-1.0-sdk | -1.7.7 | -jar | -Google App Engine Terms of Service |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Google App Engine Terms of Service: appengine-api-1.0-sdk, appengine-api-stubs, appengine-testing
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google App Engine extensions to the Google HTTP Client Library for Java., Google HTTP Client Library for Java, Guava: Google Core Libraries for Java, Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| appengine-api-1.0-sdk-1.7.7.jar | -30.66 MB | -6,566 | -6,044 | -86 | -1.6 | -debug |
| appengine-api-stubs-1.7.7.jar | -12.16 MB | -3,098 | -2,785 | -167 | -1.6 | -debug |
| appengine-testing-1.7.7.jar | -10.32 MB | -2,293 | -2,265 | -26 | -1.6 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-test-1.20.0-SNAPSHOT.jar | -51.53 kB | -59 | -49 | -2 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 12 | -56.13 MB | -14,699 | -13,480 | -386 | -1.6 | -12 |
| compile: 6 | -compile: 1.01 MB | -compile: 1,020 | -compile: 735 | -compile: 62 | -- | -compile: 6 |
| test: 5 | -test: 24.46 MB | -test: 7,113 | -test: 6,701 | -test: 238 | -- | -test: 5 |
| provided: 1 | -provided: 30.66 MB | -provided: 6,566 | -provided: 6,044 | -provided: 86 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
| org.mockito | -mockito-all | -1.9.0 | -jar | -The MIT License |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.android | -android | -1.5_r4 | -jar | -Apache 2.0 |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| org.khronos | -opengl-api | -gl1.1-android-2.1_r1 | -jar | -Apache 2.0 |
| xerces | -xmlParserAPIs | -2.6.2 | -jar | -- |
| xpp3 | -xpp3 | -1.1.4c | -jar | -Indiana University Extreme! Lab Software License, vesion 1.1.1-Public Domain-Apache Software License, version 1.1 |
Apache Software License, version 1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Public Domain: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Unknown: xmlParserAPIs
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-Apache 2.0: Google Android Java ME Library (Khronos), Google Android Library
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Guava: Google Core Libraries for Java
-The MIT License: Mockito
-Indiana University Extreme! Lab Software License, vesion 1.1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| android-1.5_r4.jar | -2.04 MB | -1,894 | -965 | -41 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| opengl-api-gl1.1-android-2.1_r1.jar | -18.06 kB | -25 | -13 | -2 | -1.5 | -debug |
| mockito-all-1.9.0.jar | -1.43 MB | -1,279 | -654 | -66 | -1.5 | -debug |
| xmlParserAPIs-2.6.2.jar | -121.80 kB | -238 | -207 | -17 | -1.1 | -release |
| xpp3-1.1.4c.jar | -117.25 kB | -78 | -56 | -13 | -1.1 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 12 | -6.40 MB | -5,956 | -4,024 | -225 | -1.5 | -11 |
| compile: 4 | -compile: 544.56 kB | -compile: 561 | -compile: 451 | -compile: 37 | -- | -compile: 4 |
| test: 2 | -test: 1.65 MB | -test: 1,546 | -test: 884 | -test: 96 | -- | -test: 2 |
| provided: 6 | -provided: 4.22 MB | -provided: 3,849 | -provided: 2,689 | -provided: 92 | -- | -provided: 5 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.gson | -gson | -2.1 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-test | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, GSON extensions to the Google HTTP Client Library for Java., Google HTTP Client Library for Java, Gson, Guava: Google Core Libraries for Java, Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| gson-2.1.jar | -175.89 kB | -158 | -148 | -6 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-test-1.20.0-SNAPSHOT.jar | -51.53 kB | -59 | -49 | -2 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 10 | -3.17 MB | -2,900 | -2,534 | -113 | -1.5 | -10 |
| compile: 7 | -compile: 1.18 MB | -compile: 1,178 | -compile: 883 | -compile: 68 | -- | -compile: 7 |
| test: 3 | -test: 1.99 MB | -test: 1,722 | -test: 1,651 | -test: 45 | -- | -test: 3 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| org.codehaus.jackson | -jackson-core-asl | -1.9.11 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-test | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Guava: Google Core Libraries for Java, Jackson, Jackson extensions to the Google HTTP Client Library for Java., Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-test-1.20.0-SNAPSHOT.jar | -51.53 kB | -59 | -49 | -2 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| jackson-core-asl-1.9.11.jar | -226.69 kB | -137 | -121 | -8 | -1.5 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 10 | -3.22 MB | -2,879 | -2,507 | -115 | -1.5 | -10 |
| compile: 7 | -compile: 1.23 MB | -compile: 1,157 | -compile: 856 | -compile: 70 | -- | -compile: 7 |
| test: 3 | -test: 1.99 MB | -test: 1,722 | -test: 1,651 | -test: 45 | -- | -test: 3 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.fasterxml.jackson.core | -jackson-core | -2.1.3 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-test | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Guava: Google Core Libraries for Java, Jackson 2 extensions to the Google HTTP Client Library for Java., Jackson-core, Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jackson-core-2.1.3.jar | -201.95 kB | -110 | -89 | -8 | -1.5 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-test-1.20.0-SNAPSHOT.jar | -51.53 kB | -59 | -49 | -2 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 10 | -3.19 MB | -2,852 | -2,475 | -115 | -1.5 | -10 |
| compile: 7 | -compile: 1.21 MB | -compile: 1,130 | -compile: 824 | -compile: 70 | -- | -compile: 7 |
| test: 3 | -test: 1.99 MB | -test: 1,722 | -test: 1,651 | -test: 45 | -- | -test: 3 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| javax.jdo | -jdo2-api | -2.3-eb | -jar | -Apache 2 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-test | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
| mysql | -mysql-connector-java | -5.1.18 | -jar | -The GNU General Public License, Version 2 |
| org.datanucleus | -datanucleus-api-jdo | -3.2.1 | -jar | -The Apache Software License, Version 2.0 |
| org.datanucleus | -datanucleus-core | -3.2.2 | -jar | -The Apache Software License, Version 2.0 |
| org.datanucleus | -datanucleus-rdbms | -3.2.1 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| javax.transaction | -transaction-api | -1.1 | -jar | -- |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache 2: JDO2 API
-Unknown: transaction-api
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, DataNucleus Core, DataNucleus JDO API plugin, DataNucleus RDBMS, FindBugs-jsr305, Google HTTP Client Library for Java, Guava: Google Core Libraries for Java, JDO extensions to the Google HTTP Client Library for Java., Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.
-The GNU General Public License, Version 2: MySQL java connector
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-test-1.20.0-SNAPSHOT.jar | -51.53 kB | -59 | -49 | -2 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| jdo2-api-2.3-eb.jar | -188.18 kB | -226 | -182 | -7 | -1.5 | -debug |
| transaction-api-1.1.jar | -14.72 kB | -24 | -18 | -2 | -1.3 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| mysql-connector-java-5.1.18.jar | -771.37 kB | -279 | -245 | -12 | -1.6 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| datanucleus-api-jdo-3.2.1.jar | -329.11 kB | -180 | -126 | -6 | -1.5 | -debug |
| datanucleus-core-3.2.2.jar | -1.72 MB | -943 | -841 | -50 | -1.5 | -debug |
| datanucleus-rdbms-3.2.1.jar | -1.69 MB | -768 | -715 | -29 | -1.6 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 15 | -7.68 MB | -5,162 | -4,513 | -213 | -1.6 | -15 |
| compile: 8 | -compile: 1.21 MB | -compile: 1,270 | -compile: 935 | -compile: 71 | -- | -compile: 8 |
| test: 7 | -test: 6.47 MB | -test: 3,892 | -test: 3,578 | -test: 142 | -- | -test: 7 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| DN_M2_Repo | -http://www.datanucleus.org/downloads/maven2/ | -Yes | -- |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.protobuf | -protobuf-java | -2.4.1 | -jar | -New BSD license |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache License: HttpClient, HttpCore
-New BSD license: Protocol Buffer Java API
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Protocol Buffer extensions to the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| protobuf-java-2.4.1.jar | -439.73 kB | -214 | -204 | -1 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 8 | -1.67 MB | -1,501 | -1,169 | -93 | -1.5 | -8 |
| compile: 7 | -compile: 1.44 MB | -compile: 1,234 | -compile: 939 | -compile: 63 | -- | -compile: 7 |
| test: 1 | -test: 231.78 kB | -test: 267 | -test: 230 | -test: 30 | -- | -test: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| xpp3 | -xpp3 | -1.1.4c | -jar | -Indiana University Extreme! Lab Software License, vesion 1.1.1-Public Domain-Apache Software License, version 1.1 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
Apache Software License, version 1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Public Domain: MXP1: Xml Pull Parser 3rd Edition (XPP3)
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Guava: Google Core Libraries for Java, XML extensions to the Google HTTP Client Library for Java.
-Indiana University Extreme! Lab Software License, vesion 1.1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| xpp3-1.1.4c.jar | -117.25 kB | -78 | -56 | -13 | -1.1 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 9 | -3.06 MB | -2,761 | -2,393 | -118 | -1.5 | -9 |
| compile: 7 | -compile: 1.13 MB | -compile: 1,098 | -compile: 791 | -compile: 75 | -- | -compile: 7 |
| test: 2 | -test: 1.93 MB | -test: 1,663 | -test: 1,602 | -test: 43 | -- | -test: 2 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client-appengine | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client-servlet | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| javax.servlet | -servlet-api | -2.5 | -jar | -- |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.appengine | -appengine-api-stubs | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.appengine | -appengine-testing | -1.7.7 | -jar | -Google App Engine Terms of Service |
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.appengine | -appengine-api-1.0-sdk | -1.7.7 | -jar | -Google App Engine Terms of Service |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jdo | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| javax.jdo | -jdo2-api | -2.3-eb | -jar | -Apache 2 |
| javax.transaction | -transaction-api | -1.1 | -jar | -- |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
Google App Engine Terms of Service: appengine-api-1.0-sdk, appengine-api-stubs, appengine-testing
-Apache 2: JDO2 API
-Unknown: servlet-api, transaction-api
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google App Engine extensions to the Google HTTP Client Library for Java., Google App Engine extensions to the Google OAuth Client Library for Java., Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, JDO extensions to the Google HTTP Client Library for Java., Servlet and JDO extensions to the Google OAuth Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| appengine-api-1.0-sdk-1.7.7.jar | -30.66 MB | -6,566 | -6,044 | -86 | -1.6 | -debug |
| appengine-api-stubs-1.7.7.jar | -12.16 MB | -3,098 | -2,785 | -167 | -1.6 | -debug |
| appengine-testing-1.7.7.jar | -10.32 MB | -2,293 | -2,265 | -26 | -1.6 | -debug |
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-appengine-1.20.0-SNAPSHOT.jar | -15.34 kB | -21 | -11 | -2 | -1.5 | -debug |
| google-http-client-jdo-1.20.0-SNAPSHOT.jar | -11.08 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| google-oauth-client-servlet-1.20.0-SNAPSHOT.jar | -21.61 kB | -24 | -11 | -4 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| jdo2-api-2.3-eb.jar | -188.18 kB | -226 | -182 | -7 | -1.5 | -debug |
| servlet-api-2.5.jar | -102.65 kB | -68 | -42 | -2 | -1.5 | -debug |
| transaction-api-1.1.jar | -14.72 kB | -24 | -18 | -2 | -1.3 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 18 | -56.49 MB | -15,073 | -13,747 | -405 | -1.6 | -18 |
| compile: 12 | -compile: 1.19 MB | -compile: 1,235 | -compile: 975 | -compile: 77 | -- | -compile: 12 |
| test: 4 | -test: 24.41 MB | -test: 7,054 | -test: 6,652 | -test: 236 | -- | -test: 4 |
| provided: 2 | -provided: 30.88 MB | -provided: 6,784 | -provided: 6,120 | -provided: 92 | -- | -provided: 2 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| org.codehaus.jackson | -jackson-core-asl | -1.9.11 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson, Jackson extensions to the Google HTTP Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson-1.20.0-SNAPSHOT.jar | -5.90 kB | -12 | -4 | -1 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| jackson-core-asl-1.9.11.jar | -226.69 kB | -137 | -121 | -8 | -1.5 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 10 | -3.17 MB | -2,832 | -2,462 | -114 | -1.5 | -10 |
| compile: 5 | -compile: 809.61 kB | -compile: 802 | -compile: 659 | -compile: 56 | -- | -compile: 5 |
| test: 4 | -test: 2.16 MB | -test: 1,812 | -test: 1,727 | -test: 52 | -- | -test: 4 |
| provided: 1 | -provided: 227.32 kB | -provided: 218 | -provided: 76 | -provided: 6 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client-jackson | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| org.codehaus.jackson | -jackson-core-asl | -1.9.11 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, Jackson, Jackson extensions to the Google HTTP Client Library for Java., Java 6 (and higher) extensions to the Google OAuth Client Library for Java.
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jackson-1.20.0-SNAPSHOT.jar | -5.90 kB | -12 | -4 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| jackson-core-asl-1.9.11.jar | -226.69 kB | -137 | -121 | -8 | -1.5 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 11 | -3.23 MB | -2,889 | -2,509 | -117 | -1.5 | -11 |
| compile: 6 | -compile: 869.28 kB | -compile: 859 | -compile: 706 | -compile: 59 | -- | -compile: 6 |
| test: 4 | -test: 2.16 MB | -test: 1,812 | -test: 1,727 | -test: 52 | -- | -test: 4 |
| provided: 1 | -provided: 227.32 kB | -provided: 218 | -provided: 76 | -provided: 6 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.oauth-client | -google-oauth-client-java6 | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| org.mortbay.jetty | -jetty | -6.1.26 | -jar | -Apache Software License - Version 2.0-Eclipse Public License - Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
| org.mortbay.jetty | -jetty-util | -6.1.26 | -jar | -Apache Software License - Version 2.0-Eclipse Public License - Version 1.0 |
| org.mortbay.jetty | -servlet-api | -2.5-20081211 | -jar | -Apache License Version 2.0 |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
Eclipse Public License - Version 1.0: Jetty Server, Jetty Utilities
-Apache License: HttpClient, HttpCore
-Apache Software License - Version 2.0: Jetty Server, Jetty Utilities
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, FindBugs-jsr305, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Java 6 (and higher) extensions to the Google OAuth Client Library for Java., Jetty extensions to the Google OAuth Client Library for Java.
-Apache License Version 2.0: Servlet Specification API
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| google-oauth-client-java6-1.20.0-SNAPSHOT.jar | -10.67 kB | -16 | -6 | -1 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| jetty-6.1.26.jar | -527.26 kB | -267 | -237 | -14 | -1.4 | -debug |
| jetty-util-6.1.26.jar | -172.98 kB | -120 | -105 | -6 | -1.4 | -debug |
| servlet-api-2.5-20081211.jar | -130.99 kB | -79 | -42 | -2 | -1.4 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 11 | -1.89 MB | -1,559 | -1,172 | -88 | -1.5 | -11 |
| compile: 10 | -compile: 1.67 MB | -compile: 1,341 | -compile: 1,096 | -compile: 82 | -- | -compile: 10 |
| provided: 1 | -provided: 227.32 kB | -provided: 218 | -provided: 76 | -provided: 6 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| codehaus.org | -http://snapshots.repository.codehaus.org | -- | -Yes |
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| java.net | -http://download.java.net/maven/2 | -Yes | -- |
| m1.java.net | -http://download.java.net/maven/1 | -Yes | -- |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.http-client | -google-http-client-jdo | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| com.google.oauth-client | -google-oauth-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| javax.jdo | -jdo2-api | -2.3-eb | -jar | -Apache 2 |
| javax.servlet | -servlet-api | -2.5 | -jar | -- |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.guava | -guava-jdk5 | -13.0 | -jar | -The Apache Software License, Version 2.0 |
| junit | -junit | -4.8.2 | -jar | -Common Public License Version 1.0 |
| mysql | -mysql-connector-java | -5.1.18 | -jar | -The GNU General Public License, Version 2 |
| org.datanucleus | -datanucleus-api-jdo | -3.2.1 | -jar | -The Apache Software License, Version 2.0 |
| org.datanucleus | -datanucleus-core | -3.2.2 | -jar | -The Apache Software License, Version 2.0 |
| org.datanucleus | -datanucleus-rdbms | -3.2.1 | -jar | -The Apache Software License, Version 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
-The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| com.google.code.findbugs | -jsr305 | -1.3.9 | -jar | -The Apache Software License, Version 2.0 |
| com.google.http-client | -google-http-client | -1.20.0-SNAPSHOT | -jar | -The Apache Software License, Version 2.0 |
| commons-logging | -commons-logging | -1.1.1 | -jar | -The Apache Software License, Version 2.0 |
| javax.transaction | -transaction-api | -1.1 | -jar | -- |
| org.apache.httpcomponents | -httpclient | -4.0.1 | -jar | -../LICENSE.txt |
| org.apache.httpcomponents | -httpcore | -4.0.1 | -jar | -Apache License |
The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
-| GroupId | -ArtifactId | -Version | -Type | -License |
|---|---|---|---|---|
| commons-codec | -commons-codec | -1.6 | -jar | -The Apache Software License, Version 2.0 |
Apache 2: JDO2 API
-Unknown: servlet-api, transaction-api
-Apache License: HttpClient, HttpCore
-Common Public License Version 1.0: JUnit
-The Apache Software License, Version 2.0: Commons Codec, Commons Logging, DataNucleus Core, DataNucleus JDO API plugin, DataNucleus RDBMS, FindBugs-jsr305, Google HTTP Client Library for Java, Google OAuth Client Library for Java, Guava: Google Core Libraries for Java, JDO extensions to the Google HTTP Client Library for Java., Servlet and JDO extensions to the Google OAuth Client Library for Java.
-The GNU General Public License, Version 2: MySQL java connector
| Filename | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
|---|---|---|---|---|---|---|
| jsr305-1.3.9.jar | -32.24 kB | -72 | -35 | -3 | -1.5 | -debug |
| guava-jdk5-13.0.jar | -1.71 MB | -1,396 | -1,372 | -13 | -1.5 | -debug |
| google-http-client-1.20.0-SNAPSHOT.jar | -265.06 kB | -241 | -208 | -19 | -1.5 | -debug |
| google-http-client-jdo-1.20.0-SNAPSHOT.jar | -11.08 kB | -13 | -5 | -1 | -1.5 | -debug |
| google-oauth-client-1.20.0-SNAPSHOT.jar | -59.66 kB | -57 | -47 | -3 | -1.5 | -debug |
| commons-codec-1.6.jar | -227.32 kB | -218 | -76 | -6 | -1.5 | -debug |
| commons-logging-1.1.1.jar | -59.26 kB | -42 | -28 | -2 | -1.1 | -debug |
| jdo2-api-2.3-eb.jar | -188.18 kB | -226 | -182 | -7 | -1.5 | -debug |
| servlet-api-2.5.jar | -102.65 kB | -68 | -42 | -2 | -1.5 | -debug |
| transaction-api-1.1.jar | -14.72 kB | -24 | -18 | -2 | -1.3 | -debug |
| junit-4.8.2.jar | -231.78 kB | -267 | -230 | -30 | -1.5 | -debug |
| mysql-connector-java-5.1.18.jar | -771.37 kB | -279 | -245 | -12 | -1.6 | -debug |
| httpclient-4.0.1.jar | -284.22 kB | -266 | -230 | -22 | -1.5 | -debug |
| httpcore-4.0.1.jar | -168.84 kB | -181 | -158 | -10 | -1.3 | -debug |
| datanucleus-api-jdo-3.2.1.jar | -329.11 kB | -180 | -126 | -6 | -1.5 | -debug |
| datanucleus-core-3.2.2.jar | -1.72 MB | -943 | -841 | -50 | -1.5 | -debug |
| datanucleus-rdbms-3.2.1.jar | -1.69 MB | -768 | -715 | -29 | -1.6 | -debug |
| Total | -Size | -Entries | -Classes | -Packages | -JDK Rev | -Debug |
| 17 | -7.80 MB | -5,241 | -4,558 | -217 | -1.6 | -17 |
| compile: 10 | -compile: 1.16 MB | -compile: 1,190 | -compile: 953 | -compile: 71 | -- | -compile: 10 |
| test: 6 | -test: 6.42 MB | -test: 3,833 | -test: 3,529 | -test: 140 | -- | -test: 6 |
| provided: 1 | -provided: 227.32 kB | -provided: 218 | -provided: 76 | -provided: 6 | -- | -provided: 1 |
| Repo ID | -URL | -Release | -Snapshot |
|---|---|---|---|
| apache.snapshots | -http://people.apache.org/repo/m2-snapshot-repository | -- | -Yes |
| sonatype-nexus-snapshots | -https://oss.sonatype.org/content/repositories/snapshots | -- | -Yes |
| DN_M2_Repo | -http://www.datanucleus.org/downloads/maven2/ | -Yes | -- |
| central | -http://repo.maven.apache.org/maven2 | -Yes | -- |
Repository locations for each of the Dependencies.
-- High-level details about this library can be found at http://code.google.com/p/google-api-java-client -
-
- A ProGuard configuration file proguard-google-api-client.txt
- is included for common settings for using the library. On Android projects,
- you may want to add a reference to
- proguard-google-api-client.txt
- in the
- project.properties
- file under the
- proguard.config
- property.
-
- Please read Setup - ProGuard for more details. -
- -- * Must NOT be implemented in form of an anonymous class as this will break serialization. - *
- * - *- * Implementation should be thread-safe. - *
- * - * Example usage: - * - *
- static class MyNotificationCallback
- extends GsonNotificationCallback{@literal <}ListResponse{@literal >} {
-
- private static final long serialVersionUID = 1L;
-
- {@literal @}Override
- protected void onNotification(
- StoredChannel channel, TypedNotification{@literal <}ListResponse{@literal >} notification) {
- ListResponse content = notification.getContent();
- switch (notification.getResourceState()) {
- case ResourceStates.SYNC:
- break;
- case ResourceStates.EXISTS:
- break;
- case ResourceStates.NOT_EXISTS:
- break;
- }
- }
-
- {@literal @}Override
- protected Class{@literal <}ListResponse{@literal >} getDataClass() throws IOException {
- return ListResponse.class;
- }
- }
- *
- *
- * @param - * Must NOT be implemented in form of an anonymous class as this will break serialization. - *
- * - *- * Implementation should be thread-safe. - *
- * - * Example usage: - * - *
- static class MyNotificationCallback
- extends GsonNotificationCallback{@literal <}ListResponse{@literal >} {
-
- private static final long serialVersionUID = 1L;
-
- {@literal @}Override
- protected void onNotification(
- StoredChannel channel, TypedNotification{@literal <}ListResponse{@literal >} notification) {
- ListResponse content = notification.getContent();
- switch (notification.getResourceState()) {
- case ResourceStates.SYNC:
- break;
- case ResourceStates.EXISTS:
- break;
- case ResourceStates.NOT_EXISTS:
- break;
- }
- }
-
- {@literal @}Override
- protected Class{@literal <}ListResponse{@literal >} getDataClass() throws IOException {
- return ListResponse.class;
- }
- }
- *
- *
- * @param - * Implementation is thread-safe. - *
- * - * @since 1.11 - * @author Yaniv Inbar - */ -public class GooglePromptReceiver extends AbstractPromptReceiver { - - @Override - public String getRedirectUri() throws IOException { - return GoogleOAuthConstants.OOB_REDIRECT_URI; - } -} diff --git a/google-api-client-java6/src/main/java/com/google/api/client/googleapis/extensions/java6/auth/oauth2/package-info.java b/google-api-client-java6/src/main/java/com/google/api/client/googleapis/extensions/java6/auth/oauth2/package-info.java deleted file mode 100644 index 8a57bb90..00000000 --- a/google-api-client-java6/src/main/java/com/google/api/client/googleapis/extensions/java6/auth/oauth2/package-info.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2012 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -/** - * Google OAuth 2.0 utilities that help simplify the authorization flow on Java 6. - * - * @since 1.11 - * @author Yaniv Inbar - */ -package com.google.api.client.googleapis.extensions.java6.auth.oauth2; - diff --git a/google-api-client-protobuf/.classpath b/google-api-client-protobuf/.classpath deleted file mode 100644 index 47154502..00000000 --- a/google-api-client-protobuf/.classpath +++ /dev/null @@ -1,13 +0,0 @@ - -- * Implementation is not thread-safe. - *
- * @since 1.16 - */ - @Beta - public abstract static class Builder extends AbstractGoogleClient.Builder { - - /** - * @param transport HTTP transport - * @param rootUrl root URL of the service - * @param servicePath service path - * @param httpRequestInitializer HTTP request initializer or {@code null} for none - */ - protected Builder(HttpTransport transport, String rootUrl, String servicePath, - HttpRequestInitializer httpRequestInitializer) { - super(transport, rootUrl, servicePath, new ProtoObjectParser(), httpRequestInitializer); - } - - @Override - public final ProtoObjectParser getObjectParser() { - return (ProtoObjectParser) super.getObjectParser(); - } - - @Override - public abstract AbstractGoogleProtoClient build(); - - @Override - public Builder setRootUrl(String rootUrl) { - return (Builder) super.setRootUrl(rootUrl); - } - - @Override - public Builder setServicePath(String servicePath) { - return (Builder) super.setServicePath(servicePath); - } - - @Override - public Builder setGoogleClientRequestInitializer( - GoogleClientRequestInitializer googleClientRequestInitializer) { - return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer); - } - - @Override - public Builder setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer) { - return (Builder) super.setHttpRequestInitializer(httpRequestInitializer); - } - - @Override - public Builder setApplicationName(String applicationName) { - return (Builder) super.setApplicationName(applicationName); - } - - @Override - public Builder setSuppressPatternChecks(boolean suppressPatternChecks) { - return (Builder) super.setSuppressPatternChecks(suppressPatternChecks); - } - - @Override - public Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) { - return (Builder) super.setSuppressRequiredParameterChecks(suppressRequiredParameterChecks); - } - - @Override - public Builder setSuppressAllChecks(boolean suppressAllChecks) { - return (Builder) super.setSuppressAllChecks(suppressAllChecks); - } - } -} diff --git a/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/services/protobuf/AbstractGoogleProtoClientRequest.java b/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/services/protobuf/AbstractGoogleProtoClientRequest.java deleted file mode 100644 index 943457d9..00000000 --- a/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/services/protobuf/AbstractGoogleProtoClientRequest.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright (c) 2013 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.api.client.googleapis.services.protobuf; - -import com.google.api.client.googleapis.batch.BatchCallback; -import com.google.api.client.googleapis.batch.BatchRequest; -import com.google.api.client.googleapis.services.AbstractGoogleClientRequest; -import com.google.api.client.http.HttpHeaders; -import com.google.api.client.http.UriTemplate; -import com.google.api.client.http.protobuf.ProtoHttpContent; -import com.google.api.client.util.Beta; -import com.google.protobuf.MessageLite; - -import java.io.IOException; - -/** - * {@link Beta}- * Implementation is not thread-safe. - *
- * - * @param- * Batched requests are then executed when {@link BatchRequest#execute()} is called. - *
- *- * Example usage: - *
- * - *
- *
- request.queue(batchRequest, new BatchCallback{@literal <}SomeResponseType, Void{@literal >}() {
-
- public void onSuccess(SomeResponseType content, HttpHeaders responseHeaders) {
- log("Success");
- }
-
- public void onFailure(Void unused, HttpHeaders responseHeaders) {
- log(e.getMessage());
- }
- });
- *
- *
- *
- * @param batchRequest batch request container
- * @param callback batch callback
- */
- public final void queue(BatchRequest batchRequest, BatchCallback- * The simplest usage is to use it to set the key parameter: - *
- * - *- public static final GoogleClientRequestInitializer KEY_INITIALIZER = - new CommonGoogleProtoClientRequestInitializer(KEY); - *- * - *
- * There is also a constructor to set both the key and userIp parameters: - *
- * - *- public static final GoogleClientRequestInitializer INITIALIZER = - new CommonGoogleProtoClientRequestInitializer(KEY, USER_IP); - *- * - *
- * If you want to implement custom logic, extend it like this: - *
- * - *
- public static class MyRequestInitializer extends CommonGoogleProtoClientRequestInitializer {
-
- {@literal @}Override
- public void initialize(AbstractGoogleProtoClientRequest{@literal <}?{@literal >} request)
- throws IOException {
- // custom logic
- }
- }
- *
- *
- * - * Finally, to set the key and userIp parameters and insert custom logic, extend it like this: - *
- * - *
- public static class MyKeyRequestInitializer extends CommonGoogleProtoClientRequestInitializer {
-
- public MyKeyRequestInitializer() {
- super(KEY, USER_IP);
- }
-
- {@literal @}Override
- public void initializeProtoRequest(
- AbstractGoogleProtoClientRequest{@literal <}?{@literal >} request) throws IOException {
- // custom logic
- }
- }
- *
- *
- * - * Subclasses should be thread-safe. - *
- * - * @since 1.16 - * @author Yaniv Inbar - */ -@Beta -public class CommonGoogleProtoClientRequestInitializer - extends CommonGoogleClientRequestInitializer { - - public CommonGoogleProtoClientRequestInitializer() { - super(); - } - - /** - * @param key API key or {@code null} to leave it unchanged - */ - public CommonGoogleProtoClientRequestInitializer(String key) { - super(key); - } - - /** - * @param key API key or {@code null} to leave it unchanged - * @param userIp user IP or {@code null} to leave it unchanged - */ - public CommonGoogleProtoClientRequestInitializer(String key, String userIp) { - super(key, userIp); - } - - @Override - public final void initialize(AbstractGoogleClientRequest> request) throws IOException { - super.initialize(request); - initializeProtoRequest((AbstractGoogleProtoClientRequest>) request); - } - - /** - * Initializes a Google protocol buffer client request. - * - *- * Default implementation does nothing. Called from - * {@link #initialize(AbstractGoogleClientRequest)}. - *
- * - * @throws IOException I/O exception - */ - protected void initializeProtoRequest(AbstractGoogleProtoClientRequest> request) - throws IOException { - } -} diff --git a/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/services/protobuf/package-info.java b/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/services/protobuf/package-info.java deleted file mode 100644 index 2ee462c9..00000000 --- a/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/services/protobuf/package-info.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2013 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -/** - * {@link com.google.api.client.util.Beta}- * Implementation is not thread-safe. - *
- */ - @Beta - public static class Builder extends AbstractGoogleProtoClient.Builder { - - /** - * @param transport HTTP transport - * @param rootUrl root URL of the service - * @param servicePath service path - * @param httpRequestInitializer HTTP request initializer or {@code null} for none - */ - public Builder(HttpTransport transport, String rootUrl, String servicePath, - HttpRequestInitializer httpRequestInitializer) { - super(transport, rootUrl, servicePath, httpRequestInitializer); - } - - @Override - public MockGoogleProtoClient build() { - return new MockGoogleProtoClient(this); - } - - @Override - public Builder setRootUrl(String rootUrl) { - return (Builder) super.setRootUrl(rootUrl); - } - - @Override - public Builder setServicePath(String servicePath) { - return (Builder) super.setServicePath(servicePath); - } - - @Override - public Builder setGoogleClientRequestInitializer( - GoogleClientRequestInitializer googleClientRequestInitializer) { - return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer); - } - - @Override - public Builder setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer) { - return (Builder) super.setHttpRequestInitializer(httpRequestInitializer); - } - - @Override - public Builder setApplicationName(String applicationName) { - return (Builder) super.setApplicationName(applicationName); - } - - @Override - public Builder setSuppressPatternChecks(boolean suppressPatternChecks) { - return (Builder) super.setSuppressPatternChecks(suppressPatternChecks); - } - - @Override - public Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) { - return (Builder) super.setSuppressRequiredParameterChecks(suppressRequiredParameterChecks); - } - - @Override - public Builder setSuppressAllChecks(boolean suppressAllChecks) { - return (Builder) super.setSuppressAllChecks(suppressAllChecks); - } - } -} diff --git a/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/testing/services/protobuf/MockGoogleProtoClientRequest.java b/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/testing/services/protobuf/MockGoogleProtoClientRequest.java deleted file mode 100644 index fe89918a..00000000 --- a/google-api-client-protobuf/src/main/java/com/google/api/client/googleapis/testing/services/protobuf/MockGoogleProtoClientRequest.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2013 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.api.client.googleapis.testing.services.protobuf; - -import com.google.api.client.googleapis.services.protobuf.AbstractGoogleProtoClient; -import com.google.api.client.googleapis.services.protobuf.AbstractGoogleProtoClientRequest; -import com.google.api.client.http.HttpHeaders; -import com.google.api.client.http.UriTemplate; -import com.google.api.client.util.Beta; -import com.google.protobuf.MessageLite; - -/** - * {@link Beta}- * In order to use this servlet you should create a class inheriting from - * {@link NotificationServlet} and register the servlet in your web.xml. - *
- * - *- * It is a simple wrapper around {@link WebhookUtils#processWebhookNotification}, so if you you may - * alternatively call that method instead from your {@link HttpServlet#doPost} with no loss of - * functionality. - *
- * - * Example usage: - * - *
- public class MyNotificationServlet extends NotificationServlet {
-
- private static final long serialVersionUID = 1L;
-
- public MyNotificationServlet() throws IOException {
- super(new SomeDataStoreFactory());
- }
- }
- *
- *
- * Sample web.xml setup:
- *
- *
- {@literal <}servlet{@literal >}
- {@literal <}servlet-name{@literal >}MyNotificationServlet{@literal <}/servlet-name{@literal >}
- {@literal <}servlet-class{@literal >}com.mypackage.MyNotificationServlet{@literal <}/servlet-class{@literal >}
- {@literal <}/servlet{@literal >}
- {@literal <}servlet-mapping{@literal >}
- {@literal <}servlet-name{@literal >}MyNotificationServlet{@literal <}/servlet-name{@literal >}
- {@literal <}url-pattern{@literal >}/notifications{@literal <}/url-pattern{@literal >}
- {@literal <}/servlet-mapping{@literal >}
- *
- *
- * - * WARNING: by default it uses {@link MemoryDataStoreFactory#getDefaultInstance()} which means it - * will NOT persist the notification channels when the servlet process dies, so it is a BAD CHOICE - * for a production application. But it is a convenient choice when testing locally, in which case - * you don't need to override it, and can simply reference it directly in your web.xml file. For - * example: - *
- * - *
- {@literal <}servlet{@literal >}
- {@literal <}servlet-name{@literal >}NotificationServlet{@literal <}/servlet-name{@literal >}
- {@literal <}servlet-class{@literal >}com.google.api.client.googleapis.extensions.servlet.notificationsNotificationServlet{@literal <}/servlet-class{@literal >}
- {@literal <}/servlet{@literal >}
- {@literal <}servlet-mapping{@literal >}
- {@literal <}servlet-name{@literal >}NotificationServlet{@literal <}/servlet-name{@literal >}
- {@literal <}url-pattern{@literal >}/notifications{@literal <}/url-pattern{@literal >}
- {@literal <}/servlet-mapping{@literal >}
- *
- *
- * @author Yaniv Inbar
- * @since 1.16
- */
-@Beta
-public class NotificationServlet extends HttpServlet {
-
- private static final long serialVersionUID = 1L;
-
- /** Notification channel data store. */
- private final transient DataStore- * It is a wrapper around - * {@link #processWebhookNotification(HttpServletRequest, HttpServletResponse, DataStore)} that - * uses the data store from {@link StoredChannel#getDefaultDataStore(DataStoreFactory)}. - *
- * - * @param req an {@link HttpServletRequest} object that contains the request the client has made - * of the servlet - * @param resp an {@link HttpServletResponse} object that contains the response the servlet sends - * to the client - * @param dataStoreFactory data store factory - * @exception IOException if an input or output error is detected when the servlet handles the - * request - * @exception ServletException if the request for the POST could not be handled - */ - public static void processWebhookNotification( - HttpServletRequest req, HttpServletResponse resp, DataStoreFactory dataStoreFactory) - throws ServletException, IOException { - processWebhookNotification(req, resp, StoredChannel.getDefaultDataStore(dataStoreFactory)); - } - - /** - * Utility method to process the webhook notification from {@link HttpServlet#doPost}. - * - *- * The {@link HttpServletRequest#getInputStream()} is closed in a finally block inside this - * method. If it is not detected to be a webhook notification, an - * {@link HttpServletResponse#SC_BAD_REQUEST} error will be displayed. If the notification channel - * is found in the given notification channel data store, it will call - * {@link UnparsedNotificationCallback#onNotification} for the registered notification callback - * method. - *
- * - * @param req an {@link HttpServletRequest} object that contains the request the client has made - * of the servlet - * @param resp an {@link HttpServletResponse} object that contains the response the servlet sends - * to the client - * @param channelDataStore notification channel data store - * @exception IOException if an input or output error is detected when the servlet handles the - * request - * @exception ServletException if the request for the POST could not be handled - */ - public static void processWebhookNotification( - HttpServletRequest req, HttpServletResponse resp, DataStore- * Default value for {@link #getType()} is {@link Xml#MEDIA_TYPE}. - *
- * - *- * Sample usage: - *
- * - *
- *
- static void setContent(
- HttpRequest request, XmlNamespaceDictionary namespaceDictionary, Object patchEntry) {
- request.setContent(new AtomPatchContent(namespaceDictionary, patchEntry));
- }
- *
- *
- *
- * - * Implementation is not thread-safe. - *
- * - * @since 1.0 - * @author Yaniv Inbar - */ -@Beta -public final class AtomPatchContent extends AtomContent { - - /** - * @param namespaceDictionary XML namespace dictionary - * @param patchEntry key/value pair data for the Atom PATCH entry - * @since 1.5 - */ - public AtomPatchContent(XmlNamespaceDictionary namespaceDictionary, Object patchEntry) { - super(namespaceDictionary, patchEntry, true); - setMediaType(new HttpMediaType(Xml.MEDIA_TYPE)); - } - - @Override - public AtomPatchContent setMediaType(HttpMediaType mediaType) { - super.setMediaType(mediaType); - return this; - } -} diff --git a/google-api-client-xml/src/main/java/com/google/api/client/googleapis/xml/atom/AtomPatchRelativeToOriginalContent.java b/google-api-client-xml/src/main/java/com/google/api/client/googleapis/xml/atom/AtomPatchRelativeToOriginalContent.java deleted file mode 100644 index 0d43c856..00000000 --- a/google-api-client-xml/src/main/java/com/google/api/client/googleapis/xml/atom/AtomPatchRelativeToOriginalContent.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright (c) 2010 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.api.client.googleapis.xml.atom; - -import com.google.api.client.http.HttpMediaType; -import com.google.api.client.http.xml.AbstractXmlHttpContent; -import com.google.api.client.util.Beta; -import com.google.api.client.util.Preconditions; -import com.google.api.client.xml.XmlNamespaceDictionary; -import com.google.api.client.xml.atom.Atom; - -import org.xmlpull.v1.XmlSerializer; - -import java.io.IOException; -import java.util.Map; - -/** - * {@link Beta}- * Sample usage: - *
- * - *
- *
- static void setContent(HttpRequest request, XmlNamespaceDictionary namespaceDictionary,
- Object originalEntry, Object patchedEntry) {
- request.setContent(
- new AtomPatchRelativeToOriginalContent(namespaceDictionary, originalEntry, patchedEntry));
- }
- *
- *
- *
- * @since 1.0
- * @author Yaniv Inbar
- */
-@Beta
-public final class AtomPatchRelativeToOriginalContent extends AbstractXmlHttpContent {
-
- /** Key/value pair data for the updated/patched Atom entry. */
- private final Object patchedEntry;
-
- /** Key/value pair data for the original unmodified Atom entry. */
- private final Object originalEntry;
-
- /**
- * @param namespaceDictionary XML namespace dictionary
- * @since 1.5
- */
- public AtomPatchRelativeToOriginalContent(
- XmlNamespaceDictionary namespaceDictionary, Object originalEntry, Object patchedEntry) {
- super(namespaceDictionary);
- this.originalEntry = Preconditions.checkNotNull(originalEntry);
- this.patchedEntry = Preconditions.checkNotNull(patchedEntry);
- }
-
- @Override
- protected void writeTo(XmlSerializer serializer) throws IOException {
- Map