类 MatchStrategyFactory

java.lang.Object
org.apache.shenyu.plugin.base.condition.strategy.MatchStrategyFactory

public final class MatchStrategyFactory extends Object
MatchStrategyFactory.
  • 方法详细资料

    • newInstance

      public static MatchStrategy newInstance(Integer strategy)
      New instance match strategy.
      参数:
      strategy - the strategy
      返回:
      the match strategy
    • match

      public static boolean match(Integer strategy, List<org.apache.shenyu.common.dto.ConditionData> conditionDataList, org.springframework.web.server.ServerWebExchange exchange)
      Match boolean.
      参数:
      strategy - the strategy
      conditionDataList - the condition data list
      exchange - the exchange
      返回:
      the boolean