Re: Confusion over deprecated Route

2010-01-12 Thread Thierry Boileau
Hello, you can simply use TemplateRoute : TemplateRoute route = router.attach(...); I update the tutorial. Best regards, Thierry Boileau > The tutorials show using Router, whose attach() method returns Route, > deprecated in favor of TemplateRoute. > > So am I supposed to be using something i

Re: Restletdoc

2010-01-12 Thread Xavier Mehaut
hi stephan i"ve rather thought about a tool generating the restdoc from code in fact regards xavier Le 12 janv. 2010 à 19:46, Stephan Koops a écrit : > Hi Xavier, > > there is WADL (Web Application Description Language). Do you took a > look to this? > > best regards > Stephan > > -U

Stream closed Exception

2010-01-12 Thread Sanjay Acharya
I have noticed the following issue when using Simple framework being mentioned on other discussions on the Restlet thread. I am however not exactly sure as to the correct direction for the same. When using Restlet without a Servlet Container, we see the following exception, An exception occure

Re: Restlet GWT RPC 2.0

2010-01-12 Thread Niclas Hedhman
Is there any conclusion on this topic? I have also needed to move from M6 to SNAPSHOT (and to GWT 2.0) for other reasons, and somewhere along the line this appeared. My guess is that the error message is clear cut, FilterInputStream is not available in the Emulation module (anymore?) and that the

Re:Restletdoc

2010-01-12 Thread Stephan Koops
Hi Xavier, there is WADL (Web Application Description Language). Do you took a look to this? best regards Stephan -Ursprüngliche Nachricht- Von: "Xavier M." Gesendet: 12.01.2010 14:58:24 An: discuss@restlet.tigris.org Betreff: Restletdoc >Hello, >I would like to know your opinion a

Re:Access to HttpSession from Restlet ...

2010-01-12 Thread Stephan Koops
Hi Eugene, RESTful application have NO session state (see http://en.wikipedia.org/wiki/Representational_State_Transfer#Constraints for example). So you have no access to the session state. best regards    Stephan Koops Eugene Batogov schrieb: Hello all. I use Restlet-2.0M5 over servlet with J

Access to HttpSession from Restlet ...

2010-01-12 Thread Eugene Batogov
Hello all. I use Restlet-2.0M5 over servlet with Jetty-6.1.21. Can I get access to HttpSession from ServerResource or Request ? I understand, that restlet include cookies support, But how I may get HttpSession ? Thanks. -- Best Regards, Eugene Batogov -

Restletdoc

2010-01-12 Thread Xavier M.
Hello, I would like to know your opinion about a kind of javadoc for restlet we could call restletdoc. A rest api is an api as the others, so it could be interesting to have a web representation of this api like the one we have for java or other languages. In this restlet doc we would have : * cate

Confusion over deprecated Route

2010-01-12 Thread webpost
The tutorials show using Router, whose attach() method returns Route, deprecated in favor of TemplateRoute. So am I supposed to be using something instead of Router now? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=

Advice re parsing custom Authorization values

2010-01-12 Thread Garry Turkington
Hi, I've got an app that gets a custom value in the HTTP Authorization request header. So far I've wrote an Authenticator that checks the validity of the provided values by parsing the Authorization header contents. There are then 3 different types of authorization rules depending on the URI pat

servlet mapping question

2010-01-12 Thread webpost
hello! I run a restlet application inside a j2ee container. in my web xml are the following entries: RestletServlet /restlet/* and index.html Now every call to the server like "localhost:8080/MyApplication/restlet/*" is mapped to the application. If I just type localhost:8080/MyAp

RE: Re: Applying multiple security scheme's to a uri

2010-01-12 Thread webpost
Thanks for your response. Will try it out. --KD -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436555

RE: Re: HTTP Basic Authentication and Spring

2010-01-12 Thread Fly
Hi, THanks for response, but I actually figured this out. The reason for not working was my appcontext.xml settings overlapping with the code above, so I had to do the wiring in one place. -- http://restlet.tigris.org/ds/viewMessage.do?dsForum

RE: Re: Restlet and GWT 2.0

2010-01-12 Thread webpost
Hello Thierry, You're right, I'm using a servlet container (rg.restlet.ext.gwt.GwtShellServletWrapper) to run my redirector. Perhaps is it not the good way? I tried to add an init parameter for my servlet but unfortunately, I still get the same issue : org.restlet.engine.component.ClientRouter