Class ListenerRuleConditionHostHeader


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

      • regexValues

        public java.util.List<java.lang.String> regexValues()
        Returns:
        List of regular expressions to compare against the host header. The maximum length of each string is 128 characters. Conflicts with `values`.
      • values

        public java.util.List<java.lang.String> values()
        Returns:
        List of host header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. To match host headers containing a non-standard port (for example, `example.com:8443`), use `regexValues`. Conflicts with `regexValues`.