]
Marián Labuda updated JBIDE-19014:
----------------------------------
Labels: jax-rs (was: )
JAX-RS Web Services in Project Explorer does not show properly
inherited metadata from abstract class
-----------------------------------------------------------------------------------------------------
Key: JBIDE-19014
URL:
https://issues.jboss.org/browse/JBIDE-19014
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: webservices
Affects Versions: 4.2.1.Final
Reporter: Marián Labuda
Labels: jax-rs
I am having abstract class and it's descendant with following code.
{code:title=AbstractResource.java}
@Path("/resource")
public abstract class AbstractResource {
@GET
public abstract void getSomeObject();
}
{code}
{code:title=SpecificResource.java}
public class SpecificResource extends AbstractResource {
@GET
@Path("specific-object")
@Override
public void getSomeObject() {
// some code
}
}
{code}
Implementation of getSomeObject along with its path is used for evaluation of HTTP GET
request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract
class "/resource" instead of "/resource/specific-object".