[jbosstools-issues] [JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)

Jeff MAURY (JIRA) issues at jboss.org
Wed Apr 18 12:14:10 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-19014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff MAURY updated JBIDE-19014:
-------------------------------
    Fix Version/s: 4.6.x
                       (was: 4.5.x)


> JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-19014
>                 URL: https://issues.jboss.org/browse/JBIDE-19014
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.2.1.Final
>            Reporter: Marián Labuda
>            Assignee: Xavier Coulon
>              Labels: jax-rs
>             Fix For: 4.6.x
>
>
> 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_.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list