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.LocaleHandler
public Locale store(ActionInvocation invocation, Locale locale)
store
in interface I18nInterceptor.LocaleHandler
public Locale read(ActionInvocation invocation)
read
in interface I18nInterceptor.LocaleHandler
public boolean shouldStore()
shouldStore
in interface I18nInterceptor.LocaleHandler
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.