Skip to content

Commit

Permalink
Intercept HttpServletResponseWrapper#setStatus(int, String) to fix re…
Browse files Browse the repository at this point in the history
…sponse status tracking
  • Loading branch information
Andrew Olson committed Sep 8, 2014
1 parent f2d0e24 commit f955b31
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -144,6 +144,12 @@ public void setStatus(int sc) {
super.setStatus(sc);
}

@Override
public void setStatus(int sc, String sm) {
httpStatus = sc;
super.setStatus(sc, sm);
}

public int getStatus() {
return httpStatus;
}
Expand Down

0 comments on commit f955b31

Please sign in to comment.