Hello all,

I have used a GWT restlet client into an existing GWT application with success.

My problem is that when I try to access a server resource several times, the 
client actually calls the server only one time!

Let's be -a bit- more precise with the following piece of code:

client.get(uri, new Callback() {
  public void onEvent(Request request, Response response) {
   ...          
  }
);

1) calling response.getStatus().isError() returns false...
2) but calling response.getEntity().getText() allways returns what was provided 
at the first GET request.

On the server side, the Restlet.handle(Request request, Response response) is 
called at the first GET request, and is never called latter.

I tried looking at GWT client code without finding any caching system. May that 
be possible that some default GWT settings infer with the GWT restlet client 
library?

Thanks in advance!

Martin

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1355533

Reply via email to