code: public String processRequest(final HttpServletRequest hsRequest) throws IOException, ServletException {
          RuleChain chain = getNewChain(hsRequest);
          if (chain == null) 
          	return null;
          chain.doRules(hsRequest, null);
          return chain.getFinalUrl();
      }
docs: The main method called for each request that this filter is mapped for.
  
  @param hsRequest The request to process.
  @return returns true when response has been handled by url rewriter false when it hasn't.