Replaced magic numbers with HttpServletResponse statics

Simple fix to make Sonar happy. This may also be my first code to be accepted into the codebase?