Remove unnecessary null checks

The null checks on the ServletRequest/HttpServletRequest request variable were
removed because the request will never be null.