new user here: can't figure out how to configure spring restlet

2008-09-16 Thread Alexei Sokolov
Hello, I have the following config: bean id=httpServer class=org.restlet.ext.spring.SpringServer constructor-arg value=http / constructor-arg value=80 / /bean bean id=top class=org.restlet.ext.spring.SpringComponent property name=server ref=httpServer / property name=client util:constant

RE: RC1: connector with no protocols

2008-09-16 Thread Jerome Louvel
Hi Paolo, I confirm that this message has no impact at runtime for the Servlet extension. However, the message is annoying and confusing so I lowered its level from WARNING to FINE so it shouldn't appear by default in logs anymore. Change checked in SVN trunk. Best regards, Jérôme Louvel --

RE: velocity representation

2008-09-16 Thread Jerome Louvel
Hi Zsolt, The FreeMarker template however benefit from caching. It should be possible to do something similar with Velocity, but from design reasons, it is much harder to integrate with. If you want to investigate this or enter an RFE, that would be welcome. Best regards, Jérôme Louvel --

RE: Restlet-GWT basic authentication possibility...

2008-09-16 Thread Jerome Louvel
Hi Rasmus, Thanks for pointing that methods to us, that definitely helps. As discussed with Rob in the developers list, I've entered a new RFE that should exceptionally make it into 1.1 RC2: Add support for HTTP Basic in Restlet-GWT http://restlet.tigris.org/issues/show_bug.cgi?id=592 Best

Any reason to override 401 to 1002?

2008-09-16 Thread Tamás Cservenák
Hello there, i am seeking for any answer on reason of overriding the 401 HTTP status code to 1002 in the Restlet Client. We are using the HTTP Restlet Client (1.1-RC1) in the IT tests of Sonatype Nexus, and after the change (from 1.0.x line) we noticed a bunch of IT failures. As it turned out,

Static File Serving, for Testing...

2008-09-16 Thread Kit Plummer
I've only briefly search the history...but, I can't imagine I'm the first one to try and do this. I have a ReST application that processes an incoming URL and returns a generic status on the incoming URL-fetch. I'd like to be able to harness the remote fetch locally via a test setup of a static

restlet client

2008-09-16 Thread Kevin
hello. Im having a problem with the client. Im following the tutorial http://www.restlet.org/documentation/1.0/tutorial / // Prepare the request Request request = new Request(Method.GET, http://localhost:8182/myuri;);

Re: restlet client

2008-09-16 Thread Stephen Groucutt
I think you must specify the representation type you wish to accept in your Client. When you use a web browser to test, the Accept: header field already contains MIME types that a browser would want to receive, so that would explain why it works when you view it in a browser. If you have a tool