users@jsr311.java.net

Re: Annotations on interfaces and super classes

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Wed, 11 Jun 2008 18:09:21 +0200

While discussing about that, a question comes in my mind.
Example:

public class A {
   @GET
   public Object get() {...}
}

@Path("whatever")
public class B extends A{
   @PUT
   public Object put() {...}
}

Does the root resource class B supports GET?

best regards
   Stephan