public interface PersistentLocale
Modifier and Type | Method and Description |
---|---|
Locale |
get()
Gets the locale obtained from the request, or null if the response did not indicate a specific locale (in which
case the active locale may have been determined from request headers).
|
boolean |
isSet() |
void |
set(Locale locale)
Sets the locale value that will be encoded into the response.
|
void set(Locale locale)
SymbolConstants.SUPPORTED_LOCALES
.IllegalArgumentException
- if the locale is not validLocale get()
boolean isSet()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.