Sun Java System Portal Server 7.1 Technical Reference

filter-by-max

The filter-by-max function allows the resource if the specified information source is less than or equal to the given value. It denies the resource if the information source is greater than the specified value.

This function can be called no more than once per filter.

Parameters

The parameters used with the filter-by-max function and their description are:

src

Source of information. It must be one of the following: hosts, objects, or depth.

value

Specifies a value for comparison.

Example

This example allows resources whose content-length is less than 1024 K:


MetaData fn-filter-by-max src=content-length value=1024