Sun GlassFish Enterprise Server 2.1 Application Deployment Guide

Attributes

The following table describes attributes for the constraint-field-value element.

Table A–36 constraint-field-value Attributes

Attribute 

Default 

Description 

match-expr

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.

cache-on-match

true

(optional) If true, caches the response if matching succeeds.

cache-on-match-failure

false

(optional) If true, caches the response if matching fails.