org.apache.commons.chain.web.servlet
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletGetLocaleCommand
public ServletGetLocaleCommand()
getLocale
protected Locale getLocale(Context context)
Retrieve and return the Locale
for this request.
- Specified by:
getLocale
in class AbstractGetLocaleCommand
- Parameters:
context
- The Context
we are operating on.
- Returns:
- The Locale for the request.
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.