You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@ResponseStatus does not work with @ExceptionHandler [SPR-6961] #11626
Activity
spring-projects-issues commentedon Mar 9, 2010
Arjen Poutsma commented
In my tests,
@ReponseStatusdoes work on@ExceptionHandlermethods.spring-projects-issues commentedon Mar 9, 2010
Florent Ramiere commented
You are correct, I found the reason why the response status was not returned: I closed the OutputStream in my method.