code: public static void doGet(HttpServletRequest request, HttpServletResponse response)
        throws IOException {
      String handler = getHandler(request);
      if (handler.startsWith(COMMAND_PATH)) {
        if (!checkForAjax(request, response)) {
          return;
        }
        StatusHandler.handleCommand(handler.substring(COMMAND_PATH.length() + 1), request, response);
      } else {
        handleStaticResources(handler, response);
      }
    }
docs: Handle GET http requests.