Interface LocalePolicy
public interface LocalePolicy
This interface represents a pluggable mechanism for different locale determining algorithms
- Author:
- Marko Strukelj
-
Method Summary
Modifier and TypeMethodDescriptiondetermineLocale(LocaleContextInfo localeContext) Determine the Locale to be used for current request
-
Method Details
-
determineLocale
Determine the Locale to be used for current request- Parameters:
localeContext- locale context info available to implementations as inputs to use when determining appropriate Locale- Returns:
- Locale to be used for current user's request
-