All Resources All filters

# AccessLimitFilter

The AccessLimitFilter allows you to control and limit the number of simultaneous requests run by the same resource. The limit attribute indicates the maximum number of simultaneous requests that the target resource is willing to accept. The timeout attribute can be used to specify how long a request should wait before being elected to be run by the resource. When this timeout expires, the filter sends back a reply to the browser with an appropriate error message.

## Inherits

The AccessLimitFilter class inherits from the following classes:

- ResourceFilter

## Attributes description

The DebugFilter defines the following attribute:

- limit
- timeout

`limit`

semantics
  Maximum number of simultaneous requests to the target resource.
type
  This attribute is a editale IntegerAttribute.
default value
  This attribute defaults to 1.

`timeout`

semantics
  How long should requests be blocked before an error message is sent back to the requesting client. The given duration should be expressed as a number of milliseconds.
type
  This attribute is a editale IntegerAttribute.
default value
  This attribute defaults to 60000 (one minute).

Anselm Baird-Smith
$Id: w3c.jigsaw.filters.AccessLimitFilter.html,v 1.1 1996/04/23 19:13:21 abaird Exp $