Interface LocalePolicy


public interface LocalePolicy
This interface represents a pluggable mechanism for different locale determining algorithms
  • Method Summary

    Modifier and Type
    Method
    Description
    Determine the Locale to be used for current request
  • Method Details

    • determineLocale

      Locale determineLocale(LocaleContextInfo localeContext)
      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