henriqueolliveira / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Remove reference to GoogleTransport from the JavaDoc #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.3.1-alpha)?

1.3.1-alpha

Java environment (e.g. Java 6, Android 2.3, App Engine 1.4.2)?

Android 2.3

Describe the problem.

The google-api-java-client library
(google-api-client-googleapis-1.3.1-alpha.jar) does not contain the class 
com.google.api.client.googleapis.GoogleTransport. 

All of the code samples and the javadoc reference this class, both for the JSON 
and Atom interfaces

How would you expect it to be fixed?

Rebuild library to include GoogleTransport.

Original issue reported on code.google.com by rssw...@gmail.com on 19 Apr 2011 at 1:12

GoogleCodeExporter commented 9 years ago
Need to update the JavaDoc to reference HttpTransport instead.  The samples 
should be updated eventually also.

Original comment by yan...@google.com on 19 Apr 2011 at 1:21

GoogleCodeExporter commented 9 years ago
FYI: It's not as simple as replacing references to GoogleTransport with 
HttpTransport. HttpTransport is an abstract class.  You need to instantiate a 
concrete implementation of HttpTransport. The class that you use depends on the 
development environment as listed below:

Google App Engine: com.google.api.client.appengine.UrlFetchTransport
Android 2.2: com.google.api.client.apache.ApacheHttpTransport
Android 2.3: com.google.api.client.javanet.NetHttpTransport
other Java environments: com.google.api.client.javanet.NetHttpTransport 
 or com.google.api.client.apache.ApacheHttpTransport

Note: see the javadoc for com.google.api.client.http.HttpTransport

Original comment by rssw...@gmail.com on 20 Apr 2011 at 3:53

GoogleCodeExporter commented 9 years ago
I cannot find any references to GoogleTransport in the JavaDoc.

Original comment by yan...@google.com on 27 Apr 2011 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Apr 2011 at 5:04