code: public static HttpHandler rewrite(final String condition, final String target, final ClassLoader classLoader, final HttpHandler next) {
          return predicateContext(predicate(PredicateParser.parse(condition, classLoader), setAttribute(next, "%R", target, classLoader), next));
      }
docs: Creates the set of handlers that are required to perform a simple rewrite.
  @param condition The rewrite condition
  @param target The rewrite target if the condition matches
  @param next The next handler
  @return