- truePredicate
Prediction which always returns true
- not
Creates a predicate that returns true if the given predicate returns false.
- or
Creates a predicate that returns true if any of the given predicates return
true.
- and
Creates a predicate that returns true if an only if the given predicates all
return true.
- falsePredicate
Predicate which always returns false.
- suffixes
Creates a predicate that returns true if the request path ends with any of the
provided suffixes.
- authRequired
A predicate that returns true if authentication is required
- parse
parses the predicate string, and returns the result
- prefixes
Creates a predicate that returns true if the relative request path matches any
of the provided prefi
- maxContentSize
Predicate that returns true if the Content-Size of a request is above a given
value.
- minContentSize
Predicate that returns true if the Content-Size of a request is below a given
value.
- path
Creates a predicate that returns true if the given path matches exactly.