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
Also need to include a wrapper for #sendRedirect, and it would be better to initialize status to '200' rather than '0'
private int httpStatus = SC_OK; ... @Override public void sendRedirect(String location) throws IOException { httpStatus = SC_MOVED_TEMPORARILY; super.sendRedirect(location); }