| Author |
URLFetchServiceFactory? Asynchronous http request??
|
sin kang
Greenhorn
Joined: Sep 24, 2010
Posts: 1
|
|
Hi all,
I need to implement a class like the one available in the com.google.appengine.api.urlfetch.URLFetchServiceFactory package.
I also need to implement a class to make asynchronous http request.
I was trying to get some ideas how to implement and all by searching the source code of those classes. Somehow, I coud not find ones.
Can you guys help me out on this? say How I should implement?? or any ideas?? or sample codes I can look up into??
Thanks guys.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24054
|
|
Hi,
Welcome to JavaRanch!
I'd think this would be rather simple: you'd just implement a synchronous fetch from a URL, but do it in a separate thread. Your API could provide a callback method so that when the fetch is complete, the callback could be notified.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: URLFetchServiceFactory? Asynchronous http request??
|
|
|