code: public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
          // Check if we should replace this request
          if (req instanceof HttpServletRequest) {
              HttpServletRequest httpServletRequest = (HttpServletRequest) req;
              if (!isProxied(httpServletRequest)) {
                  req = newProxyRequest(httpServletRequest);
              }
          }
          // Start the filter process...
          FilterDelegator filterDelegator = applicationFactory.getFilterDelegator();
          if (filterDelegator != null) {
              filterDelegator.doFilter(superFilter, req, res);
          } else if (superFilter.length > 0) {
              FilterChain chain = new PAXWicketFilterChain(Arrays.asList(superFilter), delegateServlet);
              chain.doFilter(req, res);
          } else {
              delegateServlet.service(req, res);
          }
      }
docs: {@inheritDoc}