I'd like to make a ClientResource.get call and get back the status, no 
matter what it is.
The lowest level in ClientResource prohibits this:

    private Representation handle(Method method, Representation entity,  
ClientInfo clientInfo) {
     ...
        // Actually handle the call
         Response response = handle(request);

         if (response.getStatus().isError()) {
             throw new ResourceException(response.getStatus());
         } else {
             result = (response == null) ? null : response.getEntity();
         }

Since it's private I can't even override it.

Am I missing something?

Leigh.

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

Reply via email to