class SequenceInformationServlet extends HttpServlet {

    @Override
    protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
        resp.setContentType("application/json");
        PrintWriter out = resp.getWriter();
        Map<String, Object> information = sequenceInformationCollector.collectInformation();
        out.write(getJson(information));
        out.flush();
        out.close();
    }

    @Autowired public  SequenceInformationServlet(SequenceInformationCollector sequenceInformationCollector);

}