Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19014

JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.2.1.Final
    • webservices
    • -

      I am having abstract class and it's descendant with following code.

      AbstractResource.java
      @Path("/resource")
      public abstract class AbstractResource {
      
      	@GET
      	public abstract void getSomeObject();
      }
      
      SpecificResource.java
      public class SpecificResource extends AbstractResource {
      
      	@GET
      	@Path("specific-object")
      	@Override
      	public void getSomeObject() {
      		// some 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.

            Unassigned Unassigned
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: