Class ServletSetLocaleCommand
- java.lang.Object
-
- org.apache.commons.chain.web.AbstractSetLocaleCommand
-
- org.apache.commons.chain.web.servlet.ServletSetLocaleCommand
-
- All Implemented Interfaces:
Command
public class ServletSetLocaleCommand extends AbstractSetLocaleCommand
Concrete implementation of
AbstractSetLocaleCommand
for the Servlet API.
-
-
Field Summary
-
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
-
Constructor Summary
Constructors Constructor Description ServletSetLocaleCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setLocale(Context context, java.util.Locale locale)
Establish the specifiedLocale
for this response.-
Methods inherited from class org.apache.commons.chain.web.AbstractSetLocaleCommand
execute, getLocaleKey, setLocaleKey
-
-
-
-
Method Detail
-
setLocale
protected void setLocale(Context context, java.util.Locale locale)
Establish the specified
Locale
for this response.- Specified by:
setLocale
in classAbstractSetLocaleCommand
- Parameters:
context
- TheContext
we are operating on.locale
- The Locale for the request.
-
-