Package com.subgraph.vega.internal.model.conditions.match

Examples of com.subgraph.vega.internal.model.conditions.match.StringMatchActionSet


      return conditionType;
    }
  }
 
  private static IHttpConditionType createType() {
    return new ConditionType("request path", new StringMatchActionSet()) {
      @Override
      public IHttpCondition createConditionInstance(IHttpConditionMatchAction matchAction) {
        return new ConditionPath(matchAction);
      }     
    };
View Full Code Here


      return conditionType;
    }
  }

  private static IHttpConditionType createType() {
    return new ConditionType("hostname"new StringMatchActionSet()) {
      @Override
      public IHttpCondition createConditionInstance(IHttpConditionMatchAction matchAction) {
        return new ConditionHostname(matchAction);
      }
    };
View Full Code Here

      return conditionType;
    }
  }
 
  private static IHttpConditionType createType() {
    return new ConditionType("request method", new StringMatchActionSet()) {
      @Override
      public IHttpCondition createConditionInstance(IHttpConditionMatchAction matchAction) {
        return new ConditionRequestMethod(matchAction);
      }
    };
View Full Code Here

    requestConditionType = createType("request header", true);
    responseConditionType = createType("response header", false);
  }
 
  private static IHttpConditionType createType(String label, final boolean flag) {
    return new ConditionType(label, new StringMatchActionSet()) {     
      @Override
      public IHttpCondition createConditionInstance(IHttpConditionMatchAction matchAction) {
        return new ConditionHeader(flag, matchAction);
      }
    };
View Full Code Here

TOP

Related Classes of com.subgraph.vega.internal.model.conditions.match.StringMatchActionSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.