Hi, and thanks for your help. I think I'm finally starting to get a
grip on how an application is supposed to be organized. The solution
looks like this:
From web.xml:
servlet
servlet-namerestservice/servlet-name
Both the Application class and SpringRouter classes are instances of Restlet
so I don't believe you need an Application instance.
Wherever you have injected your SpringRouter, simply inject your Guard class
with the SpringRouter as the next property.
Kevin
On Mon, Oct 20, 2008 at 8:19 AM,
Hi
I wonder if there is a special way to add guards/filters to a Restlet
application when using the Spring extension. My application does not
seem to have a separate Application class, only a SpringRouter. Is an
Application class required for this?
Best Regards
Gabriel Falkenberg
3 matches
Mail list logo