spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Document WebFlux RequestContext locale change scope

Open king-407 opened this issue 5 months ago • 0 comments

This PR updates the WebFlux RequestContext Javadoc for both changeLocale(...) overloads.

Unlike the Spring MVC RequestContext, the WebFlux implementation only updates the current RequestContext instance. It does not persist the locale or locale/time-zone change through LocaleContextResolver.

The added Javadoc clarifies that the change is scoped to the current rendering operation and adds related @see references.

Closes gh-36738

king-407 avatar Jun 07 '26 21:06 king-407