Re: StatusService getRepresentation and Variant

2009-03-07 Thread Thierry Boileau
Hello Tim, you can call the Resource#getPreferredVariant method. Best regards, Thierry Boileau Would anyone be able to recommend the correct way to determine what the preferred Variant was for the requested Resource from the StatusService.getRepresentation() method? I would like to

RE: Developing Proxy Server with Restlet - Authentication and Encryption

2009-03-07 Thread Jerome Louvel
Hi Christian, Even though, the Restlet API was not initially designed to develop true HTTP proxies, it should be easy to extent it to support this use case. There is an existing RFE that provides more information: Support HTTP proxies and gateways

RE: Demarcation Example

2009-03-07 Thread Jerome Louvel
Hi all, If the representations that you return need to access data that are part of your transaction, the Filter approach doesn't work as explained in this thread. You need to use the ConnectorService facility recently enhanced in Restlet 1.2 (SVN trunk). Managing a JPA/Hibernate session

Re: Developing Proxy Server with Restlet - Authentication and Encryption

2009-03-07 Thread Christian Haintz
Hi Jerome, On Mar 7, 2009, at 12:45 PM, Jerome Louvel wrote: Now, the default Guard doesn't leverage (yet) those new properties. This could be achieved by adding a proxy boolean property to Guard to indicate in which mode it should operate. Would that work for you? Wow, that's great.

Re: Integrating WADL and Spring

2009-03-07 Thread Rhett Sutphin
Hi David, On Mar 6, 2009, at 4:10 PM, David Bordoley wrote: On Fri, Mar 6, 2009 at 11:32 AM, Rhett Sutphin rh...@detailedbalance.net wrote: This would be an RFE (at least, I'm not aware of any way to get it to work currently). I'm curious about how you would tie the resources in your