ListenerRuleConditionHttpHeader class

Constructors

ListenerRuleConditionHttpHeader({required Input<String> httpHeaderName, Input<List<String>?>? regexValues, Input<List<String>?>? values})
Creates a new ListenerRuleConditionHttpHeader. httpHeaderName Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a host-header condition instead. regexValues List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with values. values List of 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). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with regexValues.
const
ListenerRuleConditionHttpHeader.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
httpHeaderName → Input<String>
Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a host-header condition instead.
final
regexValues → Input<List<String>?>?
List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with values.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Input<List<String>?>?
List of 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). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with regexValues.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited