When you have enabled JAX-RS a "RESTful Web Services" node in
the Project Explorer outlines the various RESTful services that
your project contains. The outline will update when you save
changes to your code.

Each element in the navigator displays the resolved HTTP Method (GET, POST, etc.)
followed by the URI Path Template
(/customers/{id}, etc.). This resolution includes @Path annotations at type
and at method levels of both Resources and Subresources, as well as the optional @ApplicationPath
annotation on a subclass of javax.ws.rs.core.Application.
Under each element, you'll see the resolved consumed
and produced media types (based on the annotations at method or type
level) and the associated Java method.
To navigate easily to the related source code for a JAX-RS
resource you can double click the elements of the resource explorer
and it will open and highlight the related source code. You can also copy the URI Path Template into your clipboard.
|