public class DefaultLocaleResolver extends Object implements LocaleResolver
LocaleResolver
LOCALE_KEY
. If it is not found, it returns the
locale included in the request.Modifier and Type | Field and Description |
---|---|
static String |
LOCALE_KEY
The attribute name that is used to store the current locale.
|
Constructor and Description |
---|
DefaultLocaleResolver() |
public static final String LOCALE_KEY
public Locale resolveLocale(org.apache.tiles.request.Request request)
resolveLocale
in interface LocaleResolver
request
- The Tiles request object.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.