[appengine-java] calling restful services

2011-07-19 Thread Vik
Hie Can some one please guide on how to invoke a restful api from server Impl class? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

Re: [appengine-java] calling restful services

2011-07-19 Thread Bruno Fuster
URLFetchService? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/urlfetch/URLFetchService.html#fetch(com.google.appengine.api.urlfetch.HTTPRequest) On Tue, Jul 19, 2011 at 10:04 AM, Vik vik@gmail.com wrote: Hie Can some one please guide on how to invoke a

Re: [appengine-java] calling restful services

2011-07-19 Thread Vik
tx any usage example? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Tue, Jul 19, 2011 at 7:12 PM, Bruno Fuster brunofus...@gmail.com wrote: URLFetchService?

Re: [appengine-java] calling restful services

2011-07-19 Thread Bruno Fuster
public class BlaController { private final URLFetchService urlFetchService = URLFetchServiceFactory. getURLFetchService(); public void bla() { HTTPResponse response = urlFetchService.fetch(new HTTPRequest(new URL( http://url;))); String content = response.getContent(); } } On Tue,

Re: [appengine-java] calling restful services

2011-07-19 Thread Vik
Thanks a lot Bruno. You rock! Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Tue, Jul 19, 2011 at 7:40 PM, Bruno Fuster brunofus...@gmail.com wrote: public class BlaController { private final URLFetchService urlFetchService = URLFetchServiceFactory