- All Known Implementing Classes:
public interface RequestLocaleResolverThe
RequestLocaleResolverservice interface may be implemented by a service registered under this name to allow the resolution of the request
This interface is intended to be implemented by providers knowing how to resolve one or more
Locales applicable to handle the request.
Only a single
RequestLocaleResolverservice is currently used.
java.util.List<java.util.Locale> resolveLocale(HttpServletRequest request)Return a non-
nullbut possibly empty list of
Localeinstances to consider for localization of the current request. The list returned is assumed to be ordered by preference where the first entry is the preferred
Localeand the last entry is the least preferred
Returning an empty list is equivalent to returning a singleton list whose single entry is the
HttpServletRequestproviding hints and information for the
- The list of
Locales to use for internationalization of request processing