Class w3c.jigsaw.proxy.ProxyDirectory
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.proxy.ProxyDirectory

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

public class ProxyDirectory
extends FilteredResource
A proxy module for Jigsaw. This is really a proof-of-conpcept thing. It will no actually do any caching right now, although plans are to use the w3c.tools.dbm package to maintain a database of cached resources.

It heavily relies on java net's library to do the client side of the proxy handling, which might not be the right thing to do for the time being.


Constructor Index

 o ProxyDirectory()

Method Index

 o lookup(Request)
Lookup for an proxied resource.

Constructors

 o ProxyDirectory
  public ProxyDirectory()

Methods

 o lookup
  public HTTPResource lookup(Request request) 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 ContainerResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index