RequestPredicate
Represents a function that evaluates on a given ServerRequest.
Instances of this function that evaluate on common request properties can be found in RequestPredicates.
Inspired by Spring org.springframework.web.servlet.function.RequestPredicate.
Functions
Return a composed request predicate that tests against both this predicate AND the other predicate. When evaluating the composed predicate, if this predicate is false, then the other predicate is not evaluated.
Return a predicate that represents the logical negation of this predicate.
Return a composed request predicate that tests against both this predicate OR the other predicate. When evaluating the composed predicate, if this predicate is true, then the other predicate is not evaluated.
Evaluate this predicate on the given request.