Route to the given handler function if the given path predicate applies.
Return a RequestPredicate that tests the request path against the given path pattern.