title: List available rest webservices on jetty
body: <p>Is there a way to get all the configured services / endpoints / servlets on a jetty server?</p>
  
  <p>Some code how i add servlets:</p>
  
  <pre><code>ServletContextHandler con = new ServletContextHandler(ServletContextHandler.SESSIONS);      
  ServletHolder servlet = con.addServlet(ServletContainer.class, "/" + prefix + "/" + version + "/*");
  servlet.setInitParameter("jersey.config.server.provider.classnames", canonicalname);
  
  HandlerList handlerList = new HandlerList();
  handlerList.setHandlers(new Handler[] { con } );
  server.setHandler(handlerList);
  </code></pre>
  
  <p>What i am looking for is something like:</p>
  
  <pre><code>server.listServices()
  </code></pre>