    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.proxy.ProxyFrame

    java.lang.Object
       |
       +----org.w3c.tools.resources.AttributeHolder
               |
               +----org.w3c.tools.resources.Resource
                       |
                       +----org.w3c.tools.resources.FramedResource
                               |
                               +----org.w3c.tools.resources.ResourceFrame
                                       |
                                       +----org.w3c.tools.resources.ProtocolFrame
                                               |
                                               +----org.w3c.jigsaw.frames.HTTPFrame
                                                       |
                                                       +----org.w3c.jigsaw.proxy.ForwardFrame
                                                               |
                                                               +----org.w3c.jigsaw.proxy.ProxyFrame

public class ProxyFrame
extends ForwardFrame

A proxy module for Jigsaw.

##

ATTR_HANDLEFTP
  Attribute index - Should we tunnel ftp accesses ?

##

ProxyFrame()

##

checkHandleFTP()
  Do we handle ftp ?
initialize(Object[])
  Update the URL in which we are installed.
lookup(LookupState, LookupResult)
  do the normal lookup, and set the proxy boolean flag if needed
lookupOther(LookupState, LookupResult)
  Lookup for an proxied resource.
registerResource(FramedResource)
  companion to initialize, called after the register
setValue(int, Object)
  Trap changes to the handleftp attribute.

##

ATTR_HANDLEFTP

     protected static int ATTR_HANDLEFTP

  Attribute index - Should we tunnel ftp accesses ?

##

ProxyFrame

     public ProxyFrame()

##

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 HTTPFrame

checkHandleFTP

     public boolean checkHandleFTP()

  Do we handle ftp ?

  Returns:
    A boolean.

lookupOther

     public boolean lookupOther(LookupState ls,
                                LookupResult lr) throws ProtocolException

  Lookup for an proxied resource.

  Parameters:
    request - The request whose URI is to be looked up.
  Throws: HTTPException
    If something fails.
  Overrides:
    lookupOther in class HTTPFrame

lookup

     public boolean lookup(LookupState ls,
                           LookupResult lr) throws ProtocolException

  do the normal lookup, and set the proxy boolean flag if needed

  Overrides:
    lookup in class HTTPFrame

registerResource

     public void registerResource(FramedResource resource)

  companion to initialize, called after the register

  Overrides:
    registerResource in class ForwardFrame

initialize

     public void initialize(Object values[])

  Update the URL in which we are installed.

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

    All Packages  Class Hierarchy  This Package  Previous  Next  Index