The ProxyFrame reference manual

All resources All frames

# ProxyFrame

This class implements a full blown caching-proxy module for Jigsaw. It relies on the w3c's HTTP client side API to handle both request forwarding and reply caching.

If the handle-ftp attribute is set to true this resource will also fullfil FTP requests. It will not cache the result, however. Redirectin FTP traffic to an upward proxy can be done through the following (standard) Java properties (to be set in the config/server.props file):

f`tpProxyPort=8080`

`ftpProxyHost=cache-sop.inria.fr`

`ftpProxySet=true`

Warning: Do not try to use this resource class in conjunction with the VirtualHostFrame class: HTTP specification doesn't allow to have virtual proxies.

## Inherits

The ProxyFrame class inerits from the following classes:

- Resource
- FramedResource
- ResourceFrame
- ProtocolFrame
- HTTPFrame
- ForwardFrame

## Attributes description

The ProxyFrame defines the following attributes:

- handle-ftp

`handle-ftp`

semantics
  Should the proxy also handle FTP urls ? If set to true the proxy will handle requests targeted toward ftp servers.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to false.

Jigsaw Team
$Id: org.w3c.jigsaw.proxy.ProxyFrame.html,v 1.3 1998/03/27 08:21:14 bmahe Exp $