Display available REST resources in development stage
问题 I was wondering wheather it's possible to output the available REST paths of a Java EE web app (war deplopyment) as a summary on a page. Of course, for security reasons only in development mode. Is there something available for this? Thanks 回答1: Here is a quick + dirty example which will return all paths for the scanned ResourceClasses: Path("/paths") public class PathResource { @GET @Produces(MediaType.TEXT_PLAIN) public Response paths(@Context HttpServletRequest request) { StringBuilder out