Class UserLanguages.AcceptLanguageFilter

java.lang.Object
jenkins.telemetry.impl.UserLanguages.AcceptLanguageFilter
All Implemented Interfaces:
ExtensionPoint, HttpServletFilter
Enclosing class:
UserLanguages

@Extension public static final class UserLanguages.AcceptLanguageFilter extends Object implements HttpServletFilter
  • Constructor Details

    • AcceptLanguageFilter

      public AcceptLanguageFilter()
  • Method Details

    • handle

      public boolean handle(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp) throws IOException, jakarta.servlet.ServletException
      Description copied from interface: HttpServletFilter
      Potentially intercepts or otherwise modifies an HTTP request.
      Specified by:
      handle in interface HttpServletFilter
      Parameters:
      req - as in Filter.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse, jakarta.servlet.FilterChain)
      rsp - as in Filter.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse, jakarta.servlet.FilterChain)
      Returns:
      true if this request was handled; false to proceed with other handlers (FilterChain)
      Throws:
      IOException - as in Filter.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse, jakarta.servlet.FilterChain)
      jakarta.servlet.ServletException - as in Filter.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse, jakarta.servlet.FilterChain)