code: public static WebRequestInterceptor[] lookupWebRequestInterceptors(ServletContext servletContext) {
          WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
  
          final Collection<WebRequestInterceptor> webRequestInterceptors = wac.getBeansOfType(WebRequestInterceptor.class).values();
          return webRequestInterceptors.toArray(new WebRequestInterceptor[webRequestInterceptors.size()]);
      }
docs: Looks up all of the WebRequestInterceptor instances registered with the application
  
  @param servletContext The ServletContext instance
  @return An array of WebRequestInterceptor instances