public class BooleanSpec extends UriSpec
| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanSpec.BooleanOpSpec |
static class |
BooleanSpec.NotOpSpec |
| Constructor and Description |
|---|
BooleanSpec(Route.AsyncBuilder routeBuilder,
RouteLocatorBuilder.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
BooleanSpec.BooleanOpSpec |
and()
Apply logical
and operator. |
UriSpec |
filters(Function<GatewayFilterSpec,UriSpec> fn)
Add filters to the route definition.
|
BooleanSpec |
negate()
Negate the logical operator.
|
BooleanSpec.BooleanOpSpec |
or()
Apply logical
or operator. |
public BooleanSpec(Route.AsyncBuilder routeBuilder, RouteLocatorBuilder.Builder builder)
public BooleanSpec.BooleanOpSpec and()
and operator.BooleanSpec to be used to add logical operatorspublic BooleanSpec.BooleanOpSpec or()
or operator.BooleanSpec to be used to add logical operatorspublic BooleanSpec negate()
BooleanSpec to be used to add logical operatorspublic UriSpec filters(Function<GatewayFilterSpec,UriSpec> fn)
fn - A Function that takes in a GatewayFilterSpec and returns
a UriSpecUriSpecCopyright © 2022 Pivotal Software, Inc.. All rights reserved.