Class QueryRoutePredicateFactory.Config
java.lang.Object
org.springframework.cloud.gateway.handler.predicate.QueryRoutePredicateFactory.Config
- Enclosing class:
QueryRoutePredicateFactory
- Author:
- Spencer Gibb
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
getParam
-
setParam
-
getRegexp
-
setRegexp
-
getPredicate
-
setPredicate
-
isValid
@AssertTrue public @AssertTrue boolean isValid()Enforces the validation done on predicate configuration:regexpandpredicatecan't be both set at runtime.- Returns:
falseifregexpandpredicateare both set in this predicate factory configuration
-