Thanks for your hints, guys. Here is my solution:
-- OfflineRequestCallback: used to get serialized response and
handle it appropriately.
public class OfflineRequestCallback implements RequestCallback {
// This String we can save in localStorage.
private static String
Hello,
i m working on generalized AsyncCallback class which allows to get a
serialized string from a succesful GWT RPC response, so i can save it
to htlm5 localStorage and use it as cached result in case RPC request
fails.
public abstract class OfflineAsyncCallbackT implements
AsyncCallbackT {