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 Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractGetLocaleCommand
execute, getLocaleKey, setLocaleKey
-
Constructor Details
-
ServletGetLocaleCommand
public ServletGetLocaleCommand()
-
-
Method Details
-
getLocale
Retrieve and return the
Localefor this request.- Specified by:
getLocalein classAbstractGetLocaleCommand- Parameters:
context- TheContextwe are operating on.- Returns:
- The Locale for the request.
-