Class ServletGetLocaleCommand
- java.lang.Object
-
- org.apache.commons.chain.web.AbstractGetLocaleCommand
-
- org.apache.commons.chain.web.servlet.ServletGetLocaleCommand
-
- All Implemented Interfaces:
Command
public class ServletGetLocaleCommand extends AbstractGetLocaleCommand
Concrete implementation of
AbstractGetLocaleCommand
for the Servlet API.
-
-
Field Summary
-
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
-
Constructor Summary
Constructors Constructor Description ServletGetLocaleCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Locale
getLocale(Context context)
Retrieve and return theLocale
for this request.-
Methods inherited from class org.apache.commons.chain.web.AbstractGetLocaleCommand
execute, getLocaleKey, setLocaleKey
-
-
-
-
Method Detail
-
getLocale
protected java.util.Locale getLocale(Context context)
Retrieve and return the
Locale
for this request.- Specified by:
getLocale
in classAbstractGetLocaleCommand
- Parameters:
context
- TheContext
we are operating on.- Returns:
- The Locale for the request.
-
-