class StubDescriptorStatusServlet extends HttpServlet {

    @Override
    protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
        response.setContentType("application/json");
        PrintWriter out = response.getWriter();
        Map<String, StubDescriptor> stubDescriptors = routingService.getStubDescriptors();
        writeAllDialogDescriptors(out, stubDescriptors);
        out.flush();
        out.close();
    }

    @Autowired public  StubDescriptorStatusServlet(RoutingService routingService, ExpirationTimeProvider expirationTimeProvider);

}