code: public void contributeRequestHandler(
  			OrderedConfiguration<RequestFilter> configuration,
  			URLRewriter urlRewriter) {
  
  		// we just need the URLRewriterRequestFilter if we have URL rewriter
  		// rules, of course.
  		if (urlRewriter.hasRequestRules()) {
  
  			URLRewriterRequestFilter urlRewriterRequestFilter = new URLRewriterRequestFilter(
  					urlRewriter);
  			configuration.add("URLRewriter", urlRewriterRequestFilter, "before:StaticFiles");
  
  		}
  
  	}
docs: Contributes the URL rewriter request filter if there are URL rewriter rules.
  @param configuration an {@link OrderedConfiguration}.
  @param urlRewriter an {@link URLRewriter}.