Package io.jmix.rest.impl
Class RestLocaleUtils
java.lang.Object
io.jmix.rest.impl.RestLocaleUtils
REST API authentication utility class
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionextractLocaleFromRequestHeader(javax.servlet.http.HttpServletRequest request) Method extracts locale information from the Accept-Language header. 
- 
Field Details
- 
coreProperties
 
 - 
 - 
Constructor Details
- 
RestLocaleUtils
public RestLocaleUtils() 
 - 
 - 
Method Details
- 
extractLocaleFromRequestHeader
@Nullable public Locale extractLocaleFromRequestHeader(javax.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 
 -