code: private void setResponeHeaders(HttpServletResponse response) {
  
          response.setHeader("Cache-Control", "no-store, no-cache");
          response.setHeader("Pragma", "no-cache");
          response.setDateHeader("Expires", System.currentTimeMillis());
          response.setContentType("text/plain; charset=utf-8");
          response.setCharacterEncoding("utf-8");
      }
docs: Sets the appropriate headers to response of this request.
  
  @param response The HttpServletResponse response object.