Interface LocaleResolver

All Known Implementing Classes:
DefaultLocaleResolver, StrutsTilesLocaleResolver

public interface LocaleResolver
It represents an object able to resolve the current locale for the current request, where its strategy depends on its implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Resolves the locale.
  • Method Details

    • resolveLocale

      Locale resolveLocale(Request request)
      Resolves the locale.
      Parameters:
      request - The Tiles request object.
      Returns:
      The current locale for the current request.