views:

148

answers:

1

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

A: 

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.

Piotr Kochański