- 
                Notifications
    
You must be signed in to change notification settings  - Fork 38.8k
 
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
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 
@ResponseStatusannotation is ignored in an@Controllerredirect (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 
@ResponseStatusoverrides redirect views 
Referenced from: commits spring-attic/spring-framework-issues@6521f15
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement