All resources All frames

# 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 inerits from the following classes:

- Resource
- FramedResource
- ResourceFrame
- ResourceFilter

## Attributes description

The AccessLimitFilter defines the following attributes:

- limit
- timeout

`limit`

semantics
  Maximum number of simultaneous requests to the target resource.
type
  This attribute is an editable 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 an editable IntegerAttribute
default value
  This attribute defaults to 60000.

Jigsaw Team
$Id: org.w3c.jigsaw.filters.AccessLimitFilter.html,v 1.3 1998/03/27 08:16:18 bmahe Exp $