All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.proxy.ProxyDirectory

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.resources.FilteredResource
                                   |
                                   +----w3c.jigsaw.proxy.ForwardDirectory
                                           |
                                           +----w3c.jigsaw.proxy.ProxyDirectory

public class ProxyDirectory
extends ForwardDirectory
A proxy module for Jigsaw.


Variable Index

 o ATTR_HANDLEFTP
Attribute index - Should we tunnel ftp accesses ?

Constructor Index

 o ProxyDirectory()

Method Index

 o checkHandleFTP()
Do we handle ftp ?
 o initialize(Object[])
Update the URL in which we are installed.
 o lookup(LookupState, LookupResult)
Lookup for an proxied resource.
 o setValue(int, Object)
Trap changes to the handleftp attribute.

Variables

 o ATTR_HANDLEFTP
 protected static int ATTR_HANDLEFTP
Attribute index - Should we tunnel ftp accesses ?

Constructors

 o ProxyDirectory
 public ProxyDirectory()

Methods

 o setValue
 public void setValue(int idx,
                      Object value)
Trap changes to the handleftp attribute.

Parameters:
idx - The attribute being set.
value - The new value for that attribute.
Overrides:
setValue in class HTTPResource
 o checkHandleFTP
 public boolean checkHandleFTP()
Do we handle ftp ?

Returns:
A boolean.
 o lookup
 public boolean lookup(LookupState ls,
                       LookupResult lr) throws HTTPException
Lookup for an proxied resource.

Parameters:
request - The request whose URI is to be looked up.
Throws: HTTPException
If something fails.
Overrides:
lookup in class FilteredResource
 o initialize
 public void initialize(Object values[])
Update the URL in which we are installed.

Parameters:
values - The default attribute values.
Overrides:
initialize in class ForwardDirectory

All Packages  Class Hierarchy  This Package  Previous  Next  Index