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
AbstractSetLocaleCommandfor 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 voidsetLocale(Context context, java.util.Locale locale)Establish the specifiedLocalefor 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
Localefor this response.- Specified by:
setLocalein classAbstractSetLocaleCommand- Parameters:
context- TheContextwe are operating on.locale- The Locale for the request.
-
-