Class HttpRouteRule


  • public final class HttpRouteRule
    extends java.lang.Object
    • Method Detail

      • action

        public java.util.Optional<HttpRouteRuleAction> action()
        Returns:
        The detailed rule defining how to route matched traffic. Structure is documented below.
      • matches

        public java.util.List<HttpRouteRuleMatch> matches()
        Returns:
        A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list. Structure is documented below.