@Path("parent")
public class ParentResource {
private ResourceContext resourceContext;
@Context
public void setResourceContext(ResourceContext resourceContext) {
this.resourceContext = resourceContext;
}
@Path("child")
public ChildResource child() {
return resourceContext.getResource(ChildResource.class);
}
}
Paths like "/parent/child/..." are simply ignored now. It is not nice and should be fixed. My proposal is to include all methods of subresources in parent resource's description file.
Example:
Paths like "/parent/child/..." are simply ignored now. It is not nice and should be fixed. My proposal is to include all methods of subresources in parent resource's description file.