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

java.lang.Object
  extended by org.apache.commons.chain.web.AbstractSetLocaleCommand
      extended by org.apache.commons.chain.web.servlet.ServletSetLocaleCommand
All Implemented Interfaces:
Command

public class ServletSetLocaleCommand
extends AbstractSetLocaleCommand

Concrete implementation of AbstractSetLocaleCommand for the Servlet API.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
ServletSetLocaleCommand()
           
 
Method Summary
protected  void setLocale(Context context, Locale locale)
          Establish the specified Locale for this response.
 
Methods inherited from class org.apache.commons.chain.web.AbstractSetLocaleCommand
execute, getLocaleKey, setLocaleKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletSetLocaleCommand

public ServletSetLocaleCommand()
Method Detail

setLocale

protected void setLocale(Context context,
                         Locale locale)

Establish the specified Locale for this response.

Specified by:
setLocale in class AbstractSetLocaleCommand
Parameters:
context - The Context we are operating on.
locale - The Locale for the request.


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.