Class RequestParameterLocaleFilter

java.lang.Object
ch.tocco.nice2.web.core.impl.servlet.locale.RequestParameterLocaleFilter
All Implemented Interfaces:
javax.servlet.Filter

@Component public class RequestParameterLocaleFilter extends Object implements javax.servlet.Filter
Gets the value for #localeParameterName from the HTTP request and sets it in RequestParameterLocaleResolver.
  • Constructor Details

  • Method Details

    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Specified by:
      doFilter in interface javax.servlet.Filter
      Throws:
      IOException
      javax.servlet.ServletException
    • setLocaleParameterName

      public void setLocaleParameterName(String localeParameterName)