If the status code returned is not 200 the onFailure method will be passed StatusCodeException. The getStatusCode() method can be used from there.
Hope that helps. reHa wrote: > Hi > > I have implemented RemoteService and when I'm getting response in the > callback - in methods onFailure and onSuccess - how can I get Http > Status (like 200, 302 or 404) of the response. > > > Thanks > - > Piotr > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---