code: protected void setSuccessMessageInCookie(final HttpServletResponse response,
        final String message) {
      final Cookie cookie = new Cookie(AZKABAN_SUCCESS_MESSAGE, message);
      cookie.setPath("/");
      response.addCookie(cookie);
    }
docs: Sets a message in azkaban.success.message in the cookie. This will be used by the web client
  javascript to somehow display the message