groovy

ServletResponse#setContentType needs to be called before ServletResponse#getWriter