Class LanguageExtractionFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class LanguageExtractionFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    Extracts the language cookie, or if it is not present the browser language string
    • Constructor Detail

      • LanguageExtractionFilter

        public LanguageExtractionFilter()
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Overrides:
        init in class com.atlassian.core.filters.AbstractHttpFilter
        Throws:
        javax.servlet.ServletException
      • doFilter

        protected void doFilter​(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                javax.servlet.FilterChain filterChain)
                         throws IOException,
                                javax.servlet.ServletException
        Specified by:
        doFilter in class com.atlassian.core.filters.AbstractHttpFilter
        Throws:
        IOException
        javax.servlet.ServletException