Hi,

in my current application I would like to use the @Get annotation to marke the 
method for GET requests. For security checks I configured an aspect around the 
@Get method. Doing so, Restlet unfortunately is no longer able to see the @Get 
annotation in the generated AOP proxy class (which is a subclass of 
ServerResource). Looking at the @Get annotation I noticed that there's no 
@Inherited annotation present. 

As a workaround I cannot use the @Get annotation, but have to override the 
appropriate methods from ServerResource.

Would it be possible to add an @Inherited annotation to the @Get, @Post, ... 
annotations? Am I the first one facing this problem?

For further details see <a 
href="http://haraldpehl.blogspot.com/2009/11/google-appengine-restlet-security.html";>http://haraldpehl.blogspot.com/2009/11/google-appengine-restlet-security.html</a>.

Best regards 
Harald

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2423879

Reply via email to