接口 MatchStrategy

所有已知实现类:
AndMatchStrategy, OrMatchStrategy
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@SPI @FunctionalInterface public interface MatchStrategy
This is condition strategy.
  • 方法概要

    修饰符和类型
    方法
    说明
    match(List<org.apache.shenyu.common.dto.ConditionData> conditionDataList, org.springframework.web.server.ServerWebExchange exchange)
    this is condition match.
  • 方法详细资料

    • match

      Boolean match(List<org.apache.shenyu.common.dto.ConditionData> conditionDataList, org.springframework.web.server.ServerWebExchange exchange)
      this is condition match.
      参数:
      conditionDataList - condition list.
      exchange - ServerWebExchange
      返回:
      true is match , false is not match.