mcbjam mcbjam - 23 days ago 8
HTTP Question

Can i use org.apache.http.client.HttpClient in google app engine?

I read somwhere that goole just allowed only fetch. Does that mean it's impossible to integrate org.apache.http.client.HttpClient in google appe engine ?

If not, are there an alternative for using existing librairies using org.apache.http.client.HttpClient on google app engine ?

Answer

So the answer is not. You need to use google fetch library.

From Google App Engine wiki page on Google Code as archived by Wayback Machine:

The only supported HTTP transport is UrlFetchTransport based on URL Fetch Java API in the Google App Engine SDK

Do not try ApacheHttpTransport because it will definitely fail on Google App Engine.

Comments