Details
-
Enhancement
-
Resolution: Done
-
Major
-
4.1.1.Final
-
None
Description
When adding or removing the @HttpMethod annotation on a custom JAX-RS HTTP Method, the Project Explorer should reflect the changes
Eg:
@Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @HttpMethod("FOO") public @interface FOO { }
and
@Encoded @Path(value=CustomerResource.URI_BASE) @Consumes(MediaType.APPLICATION_XML) @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public class CustomerResource { @PersistenceContext private EntityManager entityManager = null; public static final String URI_BASE = "/customers"; @FOO @Consumes(MediaType.APPLICATION_XML) public Response fooCustomer(Customer customer) { return Response.created(null).build(); } }
Current workaround: the project needs to be rebuilt to see the changes.