/** * @return rule to match request URI, whitelisting the specified query parameters */ public static MatchRule matchUriWithQueryWhitelist(Set<String> whiteList) { return new MatchUriWithQueryTransform(new MatchRuleWhitelistTransform(whiteList)); }
/** * @return rule to match the request headers contained in the whitelist */ public static MatchRule matchHeadersWithWhitelist(Set<String> whiteList) { return new MatchHeaders(new MatchRuleWhitelistTransform(whiteList)); }
/** * @return rule to match the request POST body parameters contained in the whitelist */ public static MatchRule matchBodyPostParametersWithWhitelist(Set<String> whiteList) { return new MatchBodyPostParameters(new MatchRuleWhitelistTransform(whiteList)); }