- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38.8k
Description
Adrien Sanchez opened SPR-16026 and commented
Hello,
I faced an issue when wanting to perform a redirection with redirect attributes on a Spring Webflux application.
In Spring MVC, I used to add the RedirectAttributes parameter in my controller methods to configure the attributes/flash attributes that I wanted to transmit through my redirection.
However, in Spring Webflux, there seems to be no equivalent to the Spring MVC RedirectAttributes class. This is a problem as Spring Webflux controllers should be able to perform redirections with attributes too.
I tried using the redirectTo method of the reactive Rendering API, that works to perform a redirection, but there's no way to transmit parameters here too. Maybe this API could evolve to include this possibility ? And do you have any workaround that could be used at the moment?
Thanks and regards,
Adrien
Affects: 5.0 RC3, 5.0 RC4, 5.0 GA
Reference URL: https://stackoverflow.com/questions/46474452/redirectattributes-not-working-with-spring-5