Class LocaleArgumentResolver

java.lang.Object
io.jmix.core.impl.method.TypedArgumentResolver<Locale>
io.jmix.core.impl.method.LocaleArgumentResolver
All Implemented Interfaces:
MethodArgumentResolver

@Component("core_LocaleArgumentResolver") public class LocaleArgumentResolver extends TypedArgumentResolver<Locale>
Allows resolving the current Locale as method argument. Current user session locale will be returned if user is authorized otherwise will be returned default system locale