docs: @DependsOn("applicationContextProvider")
  	@Bean
  	public WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> rewriteWebServerFactoryCustomizer() {
  		return factory -> factory.addInitializers(servletContext -> {
  			servletContext.addListener(new RewriteServletContextListener());
  			servletContext.addListener(new RewriteServletRequestListener());
  
  			FilterRegistration.Dynamic rewriteFilterRegistration = servletContext.addFilter("OCPsoft Rewrite Filter", RewriteFilter.class);
  			rewriteFilterRegistration.setAsyncSupported(true);
  			rewriteFilterRegistration.addMappingForUrlPatterns(EnumSet.allOf(DispatcherType.class), false, "/*");
  		});
  	}