class ShutdownServlet extends HttpServlet {

    @Override
    protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
        logger.info(SHUTDOWN_MESSAGE);
        writeResponse(resp);
        webAppStopper.stopAsync();
    }

    public  ShutdownServlet(final WebAppStopper webAppStopper);

}