The following table describes attributes for the constraint-field element. The left column lists the attribute name, the middle column indicates the default value, and the right column describes what the attribute does.
Table 6–38 constraint-field Attributes
Attribute |
Default Value |
Description |
---|---|---|
name |
none |
Specifies the input parameter name. |
scope |
request.parameter |
(optional) Specifies the scope in which the input parameter can be present. Allowed values are context.attribute, request.header, request.parameter, request.cookie, session.id, and session.attribute. |
cache-on-match |
true |
(optional) If true, caches the response if matching succeeds. Overrides the same attribute in a value subelement. |
cache-on-match-failure |
false |
(optional) If true, caches the response if matching fails. Overrides the same attribute in a value subelement. |