Class PortletSetLocaleCommand

java.lang.Object
org.apache.commons.chain.web.AbstractSetLocaleCommand
org.apache.commons.chain.web.portlet.PortletSetLocaleCommand
All Implemented Interfaces:
Command

public class PortletSetLocaleCommand extends AbstractSetLocaleCommand

Concrete implementation of AbstractSetLocaleCommand for the Portlet API.

  • Constructor Details

    • PortletSetLocaleCommand

      public PortletSetLocaleCommand()
  • 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.