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, Jul 19, 2011 at 10:49 AM, Vik <[email protected]> wrote:

> 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 <[email protected]>wrote:
>
>> 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 <[email protected]> wrote:
>>
>>> 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 group, send email to
>>> [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>
>>
>>
>>
>> --
>> Bruno Fuster
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>



-- 
Bruno Fuster

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to