@@ -0,0 +1,752 @@
+package valandur.webapi.servlet.servlet;%0D%0A%0D%0Aimport org.eclipse.jetty.http.HttpMethod;%0D%0Aimport valandur.webapi.api.annotation.WebAPIEndpoint;%0D%0Aimport valandur.webapi.api.annotation.WebAPIServlet;%0D%0Aimport valandur.webapi.api.servlet.WebAPIBaseServlet;%0D%0Aimport valandur.webapi.servlet.ServletData;%0D%0A%0D%0Aimport java.util.Map;%0D%0A%0D%0A@WebAPIServlet(basePath = %22servlet%22)%0D%0Apublic class ServletServlet extends WebAPIBaseServlet %7B%0D%0A%0D%0A    @WebAPIEndpoint(method = HttpMethod.GET, path = %22/%22, perm = %22list%22)%0D%0A    public void getServlets(ServletData data) %7B%0D%0A        Map%3CString, Class%3C? extends WebAPIBaseServlet%3E%3E servlets = servletService.getLoadedServlets();%0D%0A%0D%0A        data.addJson(%22ok%22, true, false);%0D%0A        data.addJson(%22servlets%22, servlets, false);%0D%0A    %7D%0D%0A%7D%0D%0A

Add ServletServlet to show all loaded servlets