Guarantees the request and response are instances of HttpServletRequest and HttpServletResponse, and that there are no null objects.
HttpServletRequest
HttpServletResponse
null
Required so that security system classes can obtain access to the filter environment, as well as the request and response.
Guarantees the request and response are instances of
HttpServletRequestandHttpServletResponse, and that there are nonullobjects.Required so that security system classes can obtain access to the filter environment, as well as the request and response.