|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.PersistentLocaleImpl
public class PersistentLocaleImpl
Constructor Summary | |
---|---|
PersistentLocaleImpl(PerthreadManager perThreadManager,
java.lang.String supportedLocales)
|
Method Summary | |
---|---|
java.util.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(java.util.Locale locale)
Sets the locale value that will be encoded into the response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistentLocaleImpl(PerthreadManager perThreadManager, @Symbol(value="tapestry.supported-locales") java.lang.String supportedLocales)
Method Detail |
---|
public void set(java.util.Locale locale)
PersistentLocale
SymbolConstants.SUPPORTED_LOCALES
.
set
in interface PersistentLocale
public java.util.Locale get()
PersistentLocale
get
in interface PersistentLocale
public boolean isSet()
isSet
in interface PersistentLocale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |