Closed
Description
Christopher Smith opened SPR-13197 and commented
This is a duplicate of #10812, which was closed by allowing a programmatic setting of the response code on the RedirectView
object. It would be convenient to be able to set this with @ResponseStatus
on the controller method if this is practical.
Affects: 4.2 RC2
Issue Links:
- @ResponseStatus annotation is ignored in an @Controller redirect (RedirectView) [SPR-6144] #10812
@ResponseStatus
annotation is ignored in an@Controller
redirect (RedirectView) - Make RedirectViews use RESPONSE_STATUS_ATTRIBUTE as a response status if defined [SPR-13208] #17800 Make RedirectViews use RESPONSE_STATUS_ATTRIBUTE as a response status if defined
- Document that @ResponseStatus overrides redirect views [SPR-13439] #18019 Document that
@ResponseStatus
overrides redirect views
Referenced from: commits spring-attic/spring-framework-issues@6521f15