Question

Is there any way to dump out a list of mapped paths in RESTEasy? I've searched the documentation and came up empty.

Was it helpful?

Solution

There is no such functionality built in spec or in typical implementations. With some effort you can scan all your classes looking for @Path annotation and retrive mapped paths. A good start is this article.

In a bigger application people tend to keep all mappings in a configuration class , so no searching is needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top