The HeaderFilter reference manual

All resources All frames

# HeaderFilter

Enforces a specific header value on all replies. Useful for testing.

## Inherits

The HeaderFilter class inerits from the following classes:

- Resource
- FramedResource
- ResourceFrame
- ResourceFilter

## Attributes description

The HeaderFilter defines the following attributes:

- header-name
- header-value
- no-cache
- connection

`header-name`

semantics
  The header name to add to replies.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to null.

`header-value`

semantics
  The header value to add to replies.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to null.

`no-cache`

semantics
  Should we use no-cache on that header.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to false.

`connection`

semantics
  Should we use connection on that header.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to false.

Jigsaw Team
$Id: org.w3c.jigsaw.filters.HeaderFilter.html,v 1.3 1998/03/27 08:17:50 bmahe Exp $