Monday, September 26, 2016

Re: calling rest service

Are you trying to do this code client side ?
That will not work since GWT has no support for BufferedReader, InputStreamReader...

In short. GWT only supports java.lang, and java.util (albeit not completely).

Look into RequestBuilder, or RestyGwt (not sure about the exact name as I don't use this library, but I know it is quite popular).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment