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" ) ; }
Sets the appropriate headers to response of this request .