public class GatewayParamParser<T> extends Object
| Constructor and Description |
|---|
GatewayParamParser(RequestItemParser<T> requestItemParser) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
parseParameterFor(String resource,
T request,
Predicate<GatewayFlowRule> rulePredicate)
Parse parameters for given resource from the request entity on condition of the rule predicate.
|
public GatewayParamParser(RequestItemParser<T> requestItemParser)
public Object[] parseParameterFor(String resource, T request, Predicate<GatewayFlowRule> rulePredicate)
resource - valid resource namerequest - valid requestrulePredicate - rule predicate indicating the rules to referCopyright © 2021 Alibaba Group. All rights reserved.