「Java」HttpServletResponse#setHeader()でhttpヘッダ情報を変更する

サンプルコード
response.setHeader(“Cache-Control", “no-cache");
response.setHeader(“Pragma", “no-cache");
response.setContentType(“application/json;charset=UTF-8");

Software

Posted by arkgame