Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] Recursive subresource makes application.wadl die

Test case:
1: Create a Jersey resource lets call it TheResource, with a @GET method Lets say it just returns the text "foo".
2: Add a sub resource in TheResource that produces a TheResource with some path lets say the path is "somePath".
3: Load the generated application.wadl in a browser.

This SHOULD produce a WADL according to the JAXRS spec.



package pkg;
public class TheResource {
    public String getText() { return "foo"; }
    public TheResource getSubResource() {
        return new TheResource();

On Tue, Jan 28, 2020 at 4:10 PM Markus KARG <markus@xxxxxxxxxxxxxxx> wrote:

…or even better, Todd, provide a reproducible test case and bug fix, as this is what open source is about… ;-)



Von: jersey-dev-bounces@xxxxxxxxxxx [mailto:jersey-dev-bounces@xxxxxxxxxxx] Im Auftrag von Brig TB Musheno
Gesendet: Dienstag, 28. Januar 2020 20:14
An: jersey-dev@xxxxxxxxxxx
Betreff: [jersey-dev] Recursive subresource makes application.wadl die


I am trying to use jersey to develop a wiki, and when I include a recursive sub resource, application.wadl does not generate, I get a stack overflow.

Please fix, or recommend an alternative.



jersey-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

T Musheno (Brig)

Back to the top