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 ) ) ; }
Creates the set of handlers that are required to perform a simple rewrite .