BooleanSpec |
PredicateSpec.after(ZonedDateTime datetime) |
A predicate to check if a request was made after a specific ZonedDateTime.
|
BooleanSpec |
PredicateSpec.alwaysTrue() |
A predicate which is always true.
|
BooleanSpec |
BooleanSpec.BooleanOpSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) |
|
BooleanSpec |
BooleanSpec.NotOpSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) |
|
BooleanSpec |
PredicateSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) |
|
BooleanSpec |
PredicateSpec.before(ZonedDateTime datetime) |
A predicate to check if a request was made before a specific ZonedDateTime.
|
BooleanSpec |
PredicateSpec.between(ZonedDateTime datetime1,
ZonedDateTime datetime2) |
A predicate to check if a request was made between two ZonedDateTimes.
|
BooleanSpec |
PredicateSpec.cloudFoundryRouteService() |
|
BooleanSpec |
PredicateSpec.cookie(String name,
String regex) |
A predicate that checks if a cookie matches a given regular expression.
|
BooleanSpec |
PredicateSpec.header(String header) |
A predicate that checks if a given header is present on the request.
|
BooleanSpec |
PredicateSpec.header(String header,
String regex) |
A predicate that checks if a given headers has a value which matches a regular
expression.
|
BooleanSpec |
PredicateSpec.host(String... pattern) |
A predicate that checks if the host header matches a given pattern.
|
BooleanSpec |
PredicateSpec.method(String... methods) |
A predicate that checks if the HTTP method matches.
|
BooleanSpec |
PredicateSpec.method(org.springframework.http.HttpMethod... methods) |
A predicate that checks if the HTTP method matches.
|
BooleanSpec |
BooleanSpec.negate() |
Negate the logical operator.
|
BooleanSpec |
BooleanSpec.BooleanOpSpec.not(Function<PredicateSpec,BooleanSpec> fn) |
|
BooleanSpec |
PredicateSpec.not(Function<PredicateSpec,BooleanSpec> fn) |
|
BooleanSpec |
PredicateSpec.path(boolean matchTrailingSlash,
String... patterns) |
A predicate that checks if the path of the request matches the given pattern.
|
BooleanSpec |
PredicateSpec.path(String... patterns) |
A predicate that checks if the path of the request matches the given pattern.
|
BooleanSpec |
BooleanSpec.BooleanOpSpec.predicate(Predicate<org.springframework.web.server.ServerWebExchange> predicate) |
|
BooleanSpec |
PredicateSpec.predicate(Predicate<org.springframework.web.server.ServerWebExchange> predicate) |
|
BooleanSpec |
PredicateSpec.query(String param) |
A predicate that checks if a given query parameter is present in the request URL.
|
BooleanSpec |
PredicateSpec.query(String param,
String regex) |
A predicate that checks if a query parameter matches a regular expression.
|
<T> BooleanSpec |
PredicateSpec.readBody(Class<T> inClass,
Predicate<T> predicate) |
This predicate is BETA and may be subject to change in a future release.
|
BooleanSpec |
PredicateSpec.remoteAddr(String... addrs) |
A predicate which checks the remote address of the request.
|
BooleanSpec |
PredicateSpec.remoteAddr(RemoteAddressResolver resolver,
String... addrs) |
A predicate which checks the remote address of the request.
|
BooleanSpec |
PredicateSpec.weight(String group,
int weight) |
A predicate which will select a route based on its assigned weight.
|
BooleanSpec |
PredicateSpec.xForwardedRemoteAddr(String... addrs) |
A predicate which checks the remote address of the request based off of the
X-Forwarded-For header.
|