protected class I18nInterceptor.RequestOnlyLocaleHandler extends Object implements I18nInterceptor.LocaleHandler
| Modifier and Type | Field and Description |
|---|---|
protected ActionInvocation |
actionInvocation |
protected boolean |
shouldStore |
| Modifier | Constructor and Description |
|---|---|
protected |
RequestOnlyLocaleHandler(ActionInvocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Locale |
find() |
Locale |
read(ActionInvocation invocation) |
boolean |
shouldStore() |
Locale |
store(ActionInvocation invocation,
Locale locale) |
protected ActionInvocation actionInvocation
protected boolean shouldStore
protected RequestOnlyLocaleHandler(ActionInvocation invocation)
public Locale find()
find in interface I18nInterceptor.LocaleHandlerpublic Locale store(ActionInvocation invocation, Locale locale)
store in interface I18nInterceptor.LocaleHandlerpublic Locale read(ActionInvocation invocation)
read in interface I18nInterceptor.LocaleHandlerpublic boolean shouldStore()
shouldStore in interface I18nInterceptor.LocaleHandlerCopyright © 2000–2023 Apache Software Foundation. All rights reserved.