The NegotiatedResource reference guide.

All Resources All filters

# NegotiatedResource

A resource that implements HTTP negotiation among a set of variant resources. This resource implements the HTTP/1.0 negotiation algorithm, which is known to be subject to some bugs.

It maintains the list of resources (by their names, see the variants attribute) among which to negotiate. It uses only the standard HTTPResource attributes to perform the actual negotiation, which can be done based on the variants types, their natural languages, their encodings, or their character sets.

## Inherits

The NegotiatedResource class inherits from the following classes:

- FilteredResource

## Attributes description

The NegotiatedResource defines the following attributes:

- variants

`variants`

semantics
  The set of variants to negotiate among. Each variant is given by its name, as registered in its directory resource. The variants should provide as much information as possible (e.g. their quality, their content encodings, content language, etc.)
type
  This attribute is an editable StringArrayAttribute.
default value
  This attribute is undefined by default.

Jigsaw Team
$Id: w3c.jigsaw.resources.NegotiatedResource.html,v 1.1 1996/04/11 22:03:47 abaird Exp $