Class ServletSetLocaleCommand

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

public class ServletSetLocaleCommand extends AbstractSetLocaleCommand

Concrete implementation of AbstractSetLocaleCommand for the Servlet API.

  • Constructor Details

    • ServletSetLocaleCommand

      public ServletSetLocaleCommand()
  • Method Details

    • 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.