Re: How to get HttpServletResponse object in restlet

2010-01-11 Thread Thierry Boileau
Hello Sam, At this moment, nothing is available in the framework to get access to the servlet's response which could help you to support the Blobstore API. You can have a look at the code of the ServerServlet and Servlet Call classes of the Servlet extension. There is also an issue in order to

Re: cookie setting with safari browser

2010-01-11 Thread pegpeg
Hi Marc, Strange thing ;-) ... but effectively the requests come from an IFrame ... I don't understand what that header is about. Do you have more information about hat ? Thanks. Marc Larue wrote: Is the request from an iframe? Had the same prob with my facebook app, added this response

Re: Custom StatusService#getRepresentation() not invoked with GAE M6 build

2010-01-11 Thread Thierry Boileau
Hello Sam, Can you set the statusService at instantiation time? Best regards, Thierry Boileau Please ignore the weird comments and code in the getRepresentation method body. My brain was going a couple different directions at the time I posted originally, and I realize it doesn't make much

RE: Re: How to get HttpServletResponse object in restlet

2010-01-11 Thread Sam Bloomquist
Thanks for the response, Thierry. I'll take a look at those classes and see what I can come up with. Maybe I'll be able to pitch in on that issue if I get something worked out in the next week or two. Thanks, Sam --

RE: Re: Custom StatusService#getRepresentation() not invoked with GAE M6 build

2010-01-11 Thread Sam Bloomquist
Yep, putting it in my Application class' constructor fixed it for me. Thanks. Hello Sam, Can you set the statusService at instantiation time? Best regards, Thierry Boileau Please ignore the weird comments and code in the getRepresentation method body. My brain was going a couple

Re: Applying multiple security scheme's to a uri

2010-01-11 Thread Matt Kennedy
Are you using the 2.0 API? You can subclass the Authenticator and override the authenticate() method. That gives you access to the Request object, you should then be able to check the user-agent and do custom authentication. Authenticator is a filter, so you will have to call setNext() to

Re: Restlet GWT - JAX-RS

2010-01-11 Thread aloleary
That's what I thought - thanks for the quick confirmation ! Thierry Boileau wrote: Hello, yes, for the quick answer. The interface, that is to say the resources and their methods, implemented using jax-rs is completely unaware of the kind of client. You should be able to request such