All Resources All filters

# ProxyProp

This class provides editable access to the client-side HTTP API that Jigsaw uses to proxy requests.

## Inherits

The ProxyProp class inherits from the following classes:

- PropertySet (aka abstract class)

## Attributes description

The ProxyProp defines the following attributes:

- w3c.www.protocol.http.filters
- w3c.www.protocol.http.connections.max
- proxySet
- proxyHost
- proxyPort

w3c.www.protocol.http.filters

semantics
  The list of filters you want to run on the client side HTTP API. A filter is a class then can catch requests before they leave the proxy and get replies has they come back. The currently available filters available for the proxy is:
  w3c.www.protocol.http.cache.CacheFilter
    A filter that provides HTTP/1.1 caching.
  w3c.www.protocol.http.DebugFilter
    A filter that will dump outgoing requests and incoming replies to the standard output.
type
  This attribute is a computed StringArrayAttribute
default value
  This attribute has no default value. It is highly recommended that you use at least the w3c.www.protocol.http.cache.CacheFilter filter to provide caching functionality.

w3c.www.protocol.http.connections.max

semantics
  The maximum number of connections the client side API is allowed to use to external servers.
type
  This attribute is a computed IntegerAttribute
default value
  This attribute defaults to 5. It should be set according to the number of expected users of the proxy. The default value is intended for at most two users.

proxySet

semantics
  Indicates to use another proxy instead of going to origin servers. The proxy to use is defined by proxyHost and proxyPort.
type
  This attribute is a computed BooleanAttribute
default value
  This attribute defaults to false.

proxyHost

semantics
  When the proxySet flag is set to true, this attribute indicates the internet name of the proxy to use.
type
  This attribute is a computed StringAttribute
default value
  This attribute defaults null and should be set along with proxySet.

proxyPort

semantics
  When the proxySet flag is set to true, this attribute indicates the port number on which the intermediate proxy is listening.
type
  This attribute is a computed IntegerAttribute
default value
  This attribute has no default value, and should be set along with proxySet.

Anselm Baird-Smith
$Id: w3c.jigsaw.proxy.ProxyProp.html,v 1.1 1996/09/25 14:23:14 abaird Exp $