In Json, how to call a GET method with AsyncCallback in GWT


0 votes
asked Mar 16, 2016 by Ern_309 (230 points)
I have doGet(String url, final AsyncCallback callback) method for retrieving JSON from server with REST function, but i don't know how to call it in onModuleLoad()

3 Answers

0 votes
answered May 23, 2016 by Considerably (820 points)
 
Best answer
File is successfully getting saved using http://java.ociweb.com/mark/programming/GWT.html but unzip is not working
Hope that clarifies a little
commented May 24, 2016 by doesnt (210 points)
I found this post after having a problem trying to do this in my app
0 votes
answered May 15, 2016 by ybb_take (1,080 points)
I had this same issue and it was not a code problem. Here you have some links to check JsonpRequestBuilder.java - google-web-toolkit - GWT ...
commented May 15, 2016 by whendonathan (560 points)
There is also a way to do this with some restrictions
commented May 15, 2016 by Problemtwyla (660 points)
I have been having this problem too
0 votes
answered Jun 2, 2016 by Zrz_2896 (150 points)
You can also download the source code from here

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...