There is no such functionality built into spec or typical implementations. With some effort, you can scan all of your classes that search for @Path annotation and retrieve the mapped paths. A good start is article article .
In a wider application, people tend to keep all mappings in the configuration class, so no search is required.
source
share