Class XLanguageLocaleResolverFilter

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

@Component public final class XLanguageLocaleResolverFilter extends Object implements jakarta.servlet.Filter
Sets X-Language request header to HttpRequestXLanguageLocaleResolver.
  • Constructor Details

  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain filterChain) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doFilter in interface jakarta.servlet.Filter
      Throws:
      IOException
      jakarta.servlet.ServletException