    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.

##

ATTR_HANDLEFTP
  Attribute index - Should we tunnel ftp accesses ?

##

ProxyDirectory()

##

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

##

ATTR_HANDLEFTP

     protected static int ATTR_HANDLEFTP

  Attribute index - Should we tunnel ftp accesses ?

##

ProxyDirectory

     public ProxyDirectory()

##

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

checkHandleFTP

     public boolean checkHandleFTP()

  Do we handle ftp ?

  Returns:
    A boolean.

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

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