Nested routers and keeping remaining part

2010-11-02 Thread webpost
Hi ! Is there a way to tell a router to not update the remaining part of the request so that you can have nested routers acting on the same remaining part. To be clear, my original need is, I have anonymous and authenticated resources but flat URLs. Kind of : /aaa : anon -> resource /bbb : auth -

Re: Forwarding all requests

2010-11-02 Thread Jim Alateras
Jerome, Had a look at the javadoc but couldn't really see how it would work in my scenario. In my case i want to enable a sort of reflector for my service so that the same request is processed by the existing webapp and also by the same ap running on another machine (i.e.e active redundancy mod

RE: Forwarding all requests

2010-11-02 Thread Jerome Louvel
Hi Jim, Did you have a look at the org.restlet.routing.Redirector class? It should offer what you are looking for. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com -Message d'origine- De : Jim Alatera

Forwarding all requests

2010-11-02 Thread Jim Alateras
Just wondering whether there is a Guard or Filter that comes with the restlet framework that will allow me to forward the original request to another server after it has been processed by the application. cheers -- http://restlet.tigris.org/

Socket Exception using Redirector

2010-11-02 Thread Brian Cabana
I am fairly new to Restlet and am working on implementing a web application that redirects some requests to another server to serve up the data. I have a GWT based web application that delcares a ServerServlet with an application containing a Redirector for the url patterns used to get the data.

RE: Redirector removes Accept* headers

2010-11-02 Thread Mark Thornton
The answer is getTunnelService().setUserAgentTunnel(true); (in the Application) -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678120

RE: Removal of extensions for upcoming versions

2010-11-02 Thread Jerome Louvel
Hi Vincent, Thanks for the quick feed-back. WebSocket due to its official IETF status and early support in modern browsers is very promising, and there is the Server-sent events spec part of HTML 5 that I like much due to its smart leverage of HTTP, compatible with the REST style. In

Re: Removal of extensions for upcoming versions

2010-11-02 Thread Vincent Nonnenmacher
> Second attempt without the typos J > > --- > > Hi all, > > While preparing for the release of Restlet Framework 2.1 M1 (due > tomorrow), I’ve done some clean-up and removed modules that we won’t > develop or support anymore. The goal is to focus our energy on the > modules adding the most valu

RE: Removal of extensions for upcoming versions

2010-11-02 Thread Jerome Louvel
Second attempt without the typos J --- Hi all, While preparing for the release of Restlet Framework 2.1 M1 (due tomorrow), I’ve done some clean-up and removed modules that we won’t develop or support anymore. The goal is to focus our energy on the modules adding the most value to end-us

Redirector removes Accept* headers

2010-11-02 Thread Mark Thornton
How does one get the appropriate Accept headers past a Redirector? My client is requesting a specific media type, but after the Redirector the Accept header becomes */*. Is there a better method than Extending Redirector and rewriting the serverRedirect method so that headers aren't stripped (o

Removal of extensions for upcoming versions

2010-11-02 Thread Jerome Louvel
Hi all, While preparing for the release of Restlet Framework 2.1 M1 (due tomorrow), I’ve done some clean-up and removed modules that we won’t develop or support anymore. The goal is to focus our energy on the modules adding the most value to end-users rather than trying to integrate with eve

RE: generated odata primative types do not handle null setters/getters

2010-11-02 Thread Chris A
I posted this mesage. Thanks for your consideration in responding. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678086

generated odata primative types do not handle null setters/getters

2010-11-02 Thread webpost
For a metadata property such as : when using the org.restlet.ext.odata.Generator tool the generated object contains : public double getZipcode() { return zipcode; } public void setZipcode(double zipcode) { this.zipcode = zipcode; } which do not allow you to set a zipc