class StubConfigurationOrderServlet extends HttpServlet {

    @Override
    protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
        String groupName = request.getParameter("groupname");
        String tempDir = request.getParameter("direction");
        try {
            int direction = Integer.parseInt(tempDir);
            stubConfigurationOrderService.doChange(direction, groupName, request);
        } catch (ClassNotFoundException|NumberFormatException e) {
            logger.debug(ERROR_MSG, e);
            writeErrorToResponse(response);
        }
    }

    @Autowired public  StubConfigurationOrderServlet(StubConfigurationOrderService stubConfigurationOrderService);

}