Package io.jmix.rest.impl
Class RestLocaleUtils
java.lang.Object
io.jmix.rest.impl.RestLocaleUtils
REST API authentication utility class
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionextractLocaleFromRequestHeader(jakarta.servlet.http.HttpServletRequest request) Method extracts locale information from the Accept-Language header.
- 
Field Details- 
coreProperties
 
- 
- 
Constructor Details- 
RestLocaleUtilspublic RestLocaleUtils()
 
- 
- 
Method Details- 
extractLocaleFromRequestHeader@Nullable public Locale extractLocaleFromRequestHeader(jakarta.servlet.http.HttpServletRequest request) Method extracts locale information from the Accept-Language header. If no such header is specified or the passed locale is not among application available locales, then null is returned
 
-