|
||||||||||
| 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)
PersistentLocaleSymbolConstants.SUPPORTED_LOCALES.
set in interface PersistentLocalepublic java.util.Locale get()
PersistentLocale
get in interface PersistentLocalepublic boolean isSet()
isSet in interface PersistentLocale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||