RE: Re: Need help understanding the correct FLOW

2011-01-26 Thread Randy Paries
Fabian , thanks for the response. that helped, i am now getting closer. So there is one last part i am not getting. from the book there is the example " //snippet @Override public Restlet createInboundRoot() { Router router = new Router(getContext()); MapVerifier verifier = new MapVerifier()

RE: Re: Re: Post data results in unexpected 415

2011-01-26 Thread Bjorn Roche
>I tried that from scratch, but it just returns a java object. This could come from the classpath of the server application. The ability to convert an Object to a perticular type of representation is given via Restlet extensions (see this page for more details about the Converter [1]) simply put in

Validator being bypassed?

2011-01-26 Thread Byron Poschwatta
I am trying to understand the behavior I am seeing while using a Validator, Extractor, and Authorizer to process requests to my application. I am authorizing requests to my resources based on a cookie set by a different application. I have my Restlet objects chained together like this (also see

data compression between client and server

2011-01-26 Thread amir balaie
Hi, I'm new in Restlet. I used a ClientResource and a ServerResource to communicate each other and It worked. I put the ServerResource on a tomcat server and run my client by pure java. Now, I want to send different large xmls from client to server and from server to client. So I want to compress t

Re: ClientResource HTTPS requests

2011-01-26 Thread Dustin Nicholas Jenkins
Just thought I'd give this a bump in case it was missed. I'd like to be able to set the SSLContextFactory on outgoing requests with a ClientResource. Maybe I need to write my own? Thanks, Dustin On 22/12/10 3:21 PM, Dustin Nicholas Jenkins wrote: > I'm using Restlet 2.0.3 on Tomcat 6. > > I

Define a custom AbstractVerifier for HTTPS requests

2011-01-26 Thread Xavier M.
Hello, We currently encounter a communication pb betwwen two restlet servers (unidirectionnal communication). Our architecture is the following : we have a restlet server which is hosted under Tomcat... Resources are secured by a certificate generated by sun keytool tool ; everything is ok if we

Unsupported Media Type (415)

2011-01-26 Thread Killian
Hi Lads, Since I'm a newbie with Restlet, apologies in advance if this is trivial. I've been struggling with this since a few days and really can't find the solution to this problem. I'm currently simply following the First step tutorial to build a simple application. Basically, what I want i