ProxyDirectory reference manual.

All Resources All filters

# ForwardDirectory

This resource is tha base class for the ProxyDirectory and the MirrorDirectory classes. It uses the w3c HTTP client side API to forward requests to either some other server, or some proxy.

Before configuring the caching part of this resource, you should read the Jigsaw's client API reference manual, which defines all the properties supported.

## Inherits

The ForwardDirectory class inherits from the following classes:

- ContainerResource

## Attributes description

The ForwardDirectory defines the following attributes:

- local-root
- received-by

`local-root`

semantics
  The follow up root resource, when the received request is targeted explicitly to the server. This followup root resource, is given by its name, and should already exist in the root resource store.
type
  This attribute is a StringAttribute
default value
  This attribute has no default value.

`received-by`

semantics
  The String that the proxy will emit as the received-by part of the `Via` header.
type
  This attribute is a StringAttribute
default value
  When unspecified, this attribute defaults to the name of the host running the proxy. For security reasons, it might be usefull (and is allowed) to use a fake name instead.

Jigsaw Team
$Id: w3c.jigsaw.proxy.ForwardDirectory.html,v 1.4 1997/07/31 08:23:50 ylafon Exp $