title: Listing all deployed rest endpoints (spring-boot, jersey)
body: <p>Is it possible to list all my configured rest-endpoints with spring boot? The actuator lists all existing paths on startup, I want something similar for my custom services, so I can check on startup if all paths are configured correctly and use this info for client calls.</p>
  
  <p>How do I do this? I use <code>@Path</code>/<code>@GET</code> annotations on my service beans and register them via <code>ResourceConfig#registerClasses</code>.</p>
  
  <p>Is there a way to query the Config for all Paths?</p>
  
  <p><strong>Update:</strong> I register the REST Controllers via</p>
  
  <pre><code>@Bean
  public ResourceConfig resourceConfig() {
     return new ResourceConfig() {
      {  
        register(MyRestController.class);
      }
     };
  }
  </code></pre>
  
  <p><strong>Update2:</strong> I want to have something like</p>
  
  <pre><code>GET /rest/mycontroller/info
  POST /res/mycontroller/update
  ...
  </code></pre>
  
  <p>Motivation: when the spring-boot app started, I want to print out all registered controllers and their paths, so I can stop guessing which endpoints to use.</p>