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

前端 未结 2 1373
故里飘歌
故里飘歌 2021-01-19 00:17

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, ar

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-19 00:54

    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.

提交回复
热议问题