Hi Koen,
regarding the status and entity of the response, they are still available via
the clientResource:
final ContactResourceProxy contactResource =
GWT.create(ContactResourceProxy.class);
contactResource.getClientResource().setReference("/contacts/123");
contactResource.retrieve(new Result<Contact>() {
public void onFailure(Throwable caught) {
// Gives access to the real response error status code.
contactResource.getClientResource().getStatus().getCode();
// Gives access to the real response entity.
contactResource.getClientResource().getResponseEntity();
}
public void onSuccess(Contact contact) {
[...]
}
});
I guess there is room for improvement. I let the issue #411 open, and adds this
answer.
Best regards,
Thierry Boileau
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3028577