Package | Description |
---|---|
com.broadleafcommerce.metadata.route.builder | |
com.broadleafcommerce.metadata.route.predicate |
Modifier and Type | Method and Description |
---|---|
RouteSpec.RouteBooleanSpec |
RouteSpec.tenancy(Consumer<TenancyRoutePredicateFactory.Config> fn)
Adds a special predicate for limiting this route to certain tenancy contexts.
|
Modifier and Type | Method and Description |
---|---|
TenancyRoutePredicateFactory.Config |
TenancyRoutePredicateFactory.Config.application(String... applicationIds)
This route will only be returned when the application in context is one of the provided
applications.
|
TenancyRoutePredicateFactory.Config |
TenancyRoutePredicateFactory.Config.applicationOnly()
This route will only be returned when there is an application in the context.
|
TenancyRoutePredicateFactory.Config |
TenancyRoutePredicateFactory.Config.tenant(String... tenantIds)
This route will only be returned when the tenant in context is one of the provided
tenants.
|
TenancyRoutePredicateFactory.Config |
TenancyRoutePredicateFactory.Config.tenantOnly()
This route will only be returned when there is no application in the context.
|
Modifier and Type | Method and Description |
---|---|
Predicate<org.springframework.web.context.request.WebRequest> |
TenancyRoutePredicateFactory.apply(TenancyRoutePredicateFactory.Config config) |
Copyright © 2021. All rights reserved.