How can I get the HTTP status code out of a ServletResponse in a ServletFilter?
- by Seth Weiner
I'm trying to report on every HTTP status code returned from my webapp. However the status code does not appear to be accessible via the ServletResponse, or even if I cast it to a HttpServletResponse. Is there a way to get access to this value within a ServletFilter?