JBoss RESTEasy - show ALL ways

Is there a way to reset the list of mapped paths in RESTEasy? I was looking for documentation and left blank.

+3
source share
1 answer

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.

+4
source

Source: https://habr.com/ru/post/1735760/


All Articles