-
Bug
-
Resolution: Done
-
Major
-
4.1.0.Final
-
None
Take the following classes:
@Path("/products") public class ProductResourceLocator { @QueryParam("foo") private String foo; @Path("/{productType}") public Object getProductResourceLocator() { return new BookResource(); } }
and
@Produces({ MediaType.APPLICATION_XML, "application/json" }) public class BookResource { @GET @Path("/{id}") @Produces({ "application/xml", "application/json" }) public Book getProduct(@PathParam("id") Integer id) { return null; } }
and modify the @QueryParam value of the "foo" field.
ASSERT: the changes appear in the Project Explorer
FAIL: the old @QueryParam annotation value is still used
WORKAROUND: Refresh the JAX-RS Web Services node.
- is blocked by
-
JBIDE-15881 Annotated field with QueryParam missing in URL Endpoint template
- Closed
- is duplicated by
-
JBIDE-15600 MatrixParam and QueryParam field names are used instead of the annotation values
- Closed
- relates to
-
JBIDE-15550 Endpoint from Resource Locator and Subresources don't appear in the Project Explorer
- Closed