@Component(value="sec_RequestLocaleProvider")
public class RequestLocaleProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.CoreProperties |
coreProperties |
Constructor and Description |
---|
RequestLocaleProvider() |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
Method extracts locale information from the Accept-Language header.
|
@Nullable public java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)