spring-framework / org.springframework.web.servlet.view.groovy / GroovyMarkupConfigurer / setLocale

setLocale

open fun setLocale(locale: Locale): Unit

This method should not be used, since the considered Locale for resolving templates is the Locale for the current HTTP request.