Using the entity in a Filter

2008-08-27 Thread Jim Alateras
Hi, I need to use the entity of a response to generate a digital signature in a filter before it is passed to the Router. AFAIK you can only call response.getEntity().getText() once. Is there way to do this from the Request object. cheers

RE: attached URI isn't correct

2008-08-27 Thread Max Powers
I was able to get this working, but only if I disable autowire in the servlet, and update my restlet.xml file to include the /app for the URI. http://www.restlet.org/schemas/1.1/Component"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://w

RE: attached URI isn't correct

2008-08-27 Thread Max Powers
Some copy & paste errors, corrected below --- Hi I'm in the process of upgrading our application from rest 1.0 to rest 1.1. I have created a restlet.xml file as follows http://www.restlet.org/schemas/1.1/Component";

Wadl Server Configuration

2008-08-27 Thread Bora
I was wondering if there is a way to update host and port address of a WadlComponent I mean to use something else that on the Wadl file. http://www.w3.org/1999/xhtml"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:schemaLocation="http

Re: Handler has no getMatrixAsForm method

2008-08-27 Thread Vincent Ricard
Oops, sorry, i meant: why Handler has no getMatrix() method (which could call getRequest().getResourceRef().getMatrixAsForm()). Regards -- Vincent Ricard

Handler has no getMatrixAsForm method

2008-08-27 Thread Vincent Ricard
Hi, I wonder why Handler has no getMatrixAsForm method? I mean, for consistency and convenience, i think it'd be fine to have this method. It could be have the same behavior (charset and decode values) than getQueryAsForm(). Best regards, -- Vincent Ricard