org.apache.commons.chain.web.servlet
Class ServletGetLocaleCommand

java.lang.Object
  extended by org.apache.commons.chain.web.AbstractGetLocaleCommand
      extended by 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
ServletGetLocaleCommand()
           
 
Method Summary
protected  Locale getLocale(Context context)
          Retrieve and return the Locale for this request.
 
Methods inherited from class org.apache.commons.chain.web.AbstractGetLocaleCommand
execute, getLocaleKey, setLocaleKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletGetLocaleCommand

public ServletGetLocaleCommand()
Method Detail

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.