Defines a request criterion based on HTTP headers for Site Clipper screen classes.

The Request header criterion allows defining a regular expression that is applied on a request header. Request header to test is defined in Header name property.
Matching condition: The Request header criterion matches when the regular expression defined in Regular expression property matches defined request header, i.e. if the string pattern described by the regular expression is found in the request header value.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Header name String standard Defines the name of the header which content is tested against the regular expression.
Regular expression String standard Defines the regular expression to match.
This property allows defining a regular expression as a string pattern.
Notes:

• For more information about regular expression patterns, see the following page: http://www.regular-expressions.info/reference.html.
• To test regular expressions, you can use the regular expression tester at the following URL: http://www.regular-expressions.info/javascriptexample.html.
Reverse result boolean expert Defines if the criteria’s result should be reversed.
When a criteria is evaluated, it can sometimes be useful to get the opposite of the standard result (i.e. when the criteria matches, its result is false, and when it doesn’t match, its result is true). Use this property to reverse the standard result.
For example, you may define a screen class that does not contain the text “Hello” in white on black background. For that, you define a criterion matching on the text “Hello” in white on black background, and you reverse it thanks to this property.