Uses of Class
org.springframework.cloud.gateway.route.builder.BooleanSpec
Packages that use BooleanSpec
-
Uses of BooleanSpec in org.springframework.cloud.gateway.route.builder
Methods in org.springframework.cloud.gateway.route.builder that return BooleanSpecModifier and TypeMethodDescriptionPredicateSpec.after(ZonedDateTime datetime) A predicate to check if a request was made after a specificZonedDateTime.PredicateSpec.alwaysTrue()A predicate which is always true.BooleanSpec.BooleanOpSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) BooleanSpec.NestedOpSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) BooleanSpec.NotOpSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) PredicateSpec.asyncPredicate(AsyncPredicate<org.springframework.web.server.ServerWebExchange> predicate) PredicateSpec.before(ZonedDateTime datetime) A predicate to check if a request was made before a specificZonedDateTime.PredicateSpec.between(ZonedDateTime datetime1, ZonedDateTime datetime2) A predicate to check if a request was made between twoZonedDateTimes.PredicateSpec.cloudFoundryRouteService()A predicate that checks if a cookie matches a given regular expression.A predicate that checks if a given header is present on the request.A predicate that checks if a given headers has a value which matches a regular expression.A predicate that checks if thehostheader matches a given pattern.A predicate that checks if the HTTP method matches.PredicateSpec.method(org.springframework.http.HttpMethod... methods) A predicate that checks if the HTTP method matches.BooleanSpec.negate()Negate the logical operator.BooleanSpec.BooleanOpSpec.nested(Function<PredicateSpec, BooleanSpec> fn) BooleanSpec.BooleanOpSpec.not(Function<PredicateSpec, BooleanSpec> fn) PredicateSpec.not(Function<PredicateSpec, BooleanSpec> fn) A predicate that checks if the path of the request matches the given pattern.A predicate that checks if the path of the request matches the given pattern.BooleanSpec.BooleanOpSpec.predicate(Predicate<org.springframework.web.server.ServerWebExchange> predicate) A predicate that checks if a given query parameter is present in the request URL.A predicate that checks if a query parameter matches a regular expression.A predicate that checks if a query parameter value matches criteria of a given predicate.<T> BooleanSpecThis predicate is BETA and may be subject to change in a future release.PredicateSpec.remoteAddr(String... addrs) A predicate which checks the remote address of the request.PredicateSpec.remoteAddr(@Nullable RemoteAddressResolver resolver, String... addrs) A predicate which checks the remote address of the request.A predicate that checks for the version specified.A predicate which will select a route based on its assigned weight.PredicateSpec.xForwardedRemoteAddr(String... addrs) A predicate which checks the remote address of the request based off of theX-Forwarded-Forheader.Method parameters in org.springframework.cloud.gateway.route.builder with type arguments of type BooleanSpecModifier and TypeMethodDescriptionBooleanSpec.BooleanOpSpec.nested(Function<PredicateSpec, BooleanSpec> fn) BooleanSpec.BooleanOpSpec.not(Function<PredicateSpec, BooleanSpec> fn) PredicateSpec.not(Function<PredicateSpec, BooleanSpec> fn)