artiya4u / google-http-java-client

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

Can no longer create UrlFetchTransport since GAE SDK 1.6.6 #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.5.0-beta)?

1.9.0-beta

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

App Engine, starting with 1.6.6 SDK

Describe the problem.

Details here:
http://stackoverflow.com/questions/10764671/verifyerror-after-upgrading-to-appen
gine-1-6-6-cannot-create-instance-of-urlfet

but in summary UrlFetchTransport is unusable for local App Engine development

How would you expect it to be fixed?

I propose this simple fix: rename package 
com.google.api.client.extensions.appengine.http.urlfetch to 
com.google.api.client.extensions.appengine.http

This would avoid the classpath conflict, and anyway the "urlfetch" in the 
package name was unnecessary.  We won't literally remove the 
com.google.api.client.extensions.appengine.http.urlfetch package, but rather 
deprecate it with a message to remove it in a future release.

Original issue reported on code.google.com by yan...@google.com on 6 Jun 2012 at 5:26

GoogleCodeExporter commented 9 years ago
Moved http.urlfetch.* to http.* in 214:6e0858aa32dd. Samples have to be updated 
to use the new UrlFetchTransport.

Original comment by mlin...@google.com on 6 Jun 2012 at 7:02

GoogleCodeExporter commented 9 years ago
Should we mark the bug as fixed?

Original comment by rmis...@google.com on 6 Jun 2012 at 7:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by mlin...@google.com on 6 Jun 2012 at 8:26