Specifies a value to be matched to the input parameter value. The matching is case sensitive. For example:
<value match-expr="in-range">1-60</value>
constraint-field (sun-web.xml)
none - contains data
The following table describes attributes for the constraint-field-value element.
Table A–36 constraint-field-value Attributes
Attribute |
Default |
Description |
---|---|---|
equals |
(optional) Specifies the type of comparison performed with the value. Allowed values are equals, not-equals, greater, lesser, and in-range. If match-expr is greater or lesser, the value must be a number. If match-expr is in-range, the value must be of the form n1-n2, where n1 and n2 are numbers. |
|
true |
(optional) If true, caches the response if matching succeeds. |
|
false |
(optional) If true, caches the response if matching fails. |