All resources All frames

# ProxyProp

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

## Inherits

The ProxyProp class inerits from the following classes:

- Resource
- PropertySet

## Attributes description

The ProxyProp defines the following attributes:

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

`org.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 an editable IntegerAttribute
default value
  This attribute defaults to 5.

`org.w3c.www.protocol.http.connections.timeout`

semantics
  The timeout on the client socket
type
  This attribute is an editable IntegerAttribute
default value
  This attribute defaults to 300000.

`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 an editable BooleanAttribute
default value
  This attribute defaults to null.

`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 an editable StringAttribute
default value
  This attribute defaults to null.

`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 an editable IntegerAttribute
default value
  This attribute defaults to 80.

`org.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 an editable 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.

Jigsaw Team
$Id: org.w3c.jigsaw.proxy.ProxyProp.html,v 1.2 1998/03/27 08:21:28 bmahe Exp $