コード例 #1
0
  /** Responds to the user's request. */
  @Override
  public void respond(HttpServletRequest httpRequest, HttpServletResponse httpResponse) {
    LOGGER.info("Responding to the user update request.");

    super.respond(httpRequest, httpResponse, null);
  }
コード例 #2
0
  /** Responds with a success or failure message. */
  @Override
  public void respond(HttpServletRequest httpRequest, HttpServletResponse httpResponse) {
    LOGGER.info("Responding to the user deletion request.");

    super.respond(httpRequest, httpResponse, (JSONObject) null);
  }