|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentLocale
Manages the persistent locale stored in the browser (inside the URL).
LocalizationSetter.setLocaleFromLocaleName(String)
,
LocalizationSetter
,
ComponentEventLinkEncoder
Method Summary | |
---|---|
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. |
Method Detail |
---|
void set(Locale locale)
SymbolConstants.SUPPORTED_LOCALES
.
IllegalArgumentException
- if the locale is not validLocale get()
boolean isSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |