class SequenceHandlingStatusServlet extends HttpServlet {

    @Override
    protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
        resp.setContentType("application/json");
        PrintWriter out = resp.getWriter();
        boolean sequenceHandlingUsage = sequenceHandlingToggle.isOn();
        out.write("{\"sequenceHandlingUsage\": " + sequenceHandlingUsage + "}");
        out.flush();
        out.close();
    }

    @Autowired public  SequenceHandlingStatusServlet(SequenceHandlingToggle sequenceHandlingToggle);

}