Class ServletGetLocaleCommand
java.lang.Object
org.apache.commons.chain.web.AbstractGetLocaleCommand
org.apache.commons.chain.web.servlet.ServletGetLocaleCommand
- All Implemented Interfaces:
Command
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 -
Method Summary
Methods inherited from class org.apache.commons.chain.web.AbstractGetLocaleCommand
execute, getLocaleKey, setLocaleKey
-
Constructor Details
-
ServletGetLocaleCommand
public ServletGetLocaleCommand()
-
-
Method Details
-
getLocale
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.
-