users@jersey.java.net

Re: [Jersey] WadlGenerator does not generate resource methods for subresources?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 10 Jun 2008 17:14:54 +0200

Marc Hadley wrote:
> On Jun 10, 2008, at 10:53 AM, Martin Grotzke wrote:
>>>>
>>> I was going to suggest the same, that would at least give some
>>> baseline information.
>> Hmm, I don't really get what you have in mind. What does "additional URI
>> space" actually mean?
>>
> A returned instance of a subclass of the declared type might have
> additional resource methods or locators not present on the base class.
>
> E.g. the subresource locator might have a declared return type of
> UserResource but actually return a SuperUserResource (extends
> UserResource) that has extra capabilities.
>

Also, take look at the Bookstore example.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109