Class w3c.jigsaw.cvs.CvsDirectoryResource
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.cvs.CvsDirectoryResource

java.lang.Object
   |
   +----w3c.jigsaw.resources.AttributeHolder
           |
           +----w3c.jigsaw.resources.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.resources.FilteredResource
                                   |
                                   +----w3c.jigsaw.resources.FileResource
                                           |
                                           +----w3c.jigsaw.forms.PostableResource
                                                   |
                                                   +----w3c.jigsaw.cvs.CvsDirectoryResource

public class CvsDirectoryResource
extends PostableResource
This class implements an HTML interface to the CVS directory package.

Variable Index

 o CACHE_CONTROL_NOCACHE
 o PRAGMA_NOCACHE

Constructor Index

 o CvsDirectoryResource()

Method Index

 o get(Request)
Dump the content of the directory as a CVS form.
 o getCvsManager()
Get the CVS manager associated with this resource, or create it.
 o getResourceFor(CvsEntry)
Get a suitable HTTP resource to display the given cvs entry.
 o handle(Request, URLDecoder)
This is were we handle the big post request.
 o initializeCVS(httpd)
Get a CVS directory manager for the given directory.
 o lookup(LookupState, LookupResult)
Lookup method for the CVS manager.

Variables

 o CACHE_CONTROL_NOCACHE
  protected static HttpCacheControl CACHE_CONTROL_NOCACHE
 o PRAGMA_NOCACHE
  protected static HttpTokenList PRAGMA_NOCACHE

Constructors

 o CvsDirectoryResource
  public CvsDirectoryResource()

Methods

 o getResourceFor
  protected HTTPResource getResourceFor(CvsEntry entry)
Get a suitable HTTP resource to display the given cvs entry.
Parameters:
entry - The CVS entry to be displayed.
Returns:
An CvsEntryResource, or null if none was found.
 o getCvsManager
  protected final CvsDirectory getCvsManager()
Get the CVS manager associated with this resource, or create it.
 o lookup
  public boolean lookup(LookupState ls,
                        LookupResult lr) throws HTTPException
Lookup method for the CVS manager. Lookup for a CvsEntry object having the given name, if found, wrap it into aCvsEntryResource object and return it.
Parameters:
state - The current lookup state.
Overrides:
lookup in class FilteredResource
 o get
  public Reply get(Request request) throws HTTPException
Dump the content of the directory as a CVS form. The resulting form allows for trigerring actions on the various files.
Overrides:
get in class PostableResource
 o handle
  public Reply handle(Request request,
                      URLDecoder data) throws HTTPException
This is were we handle the big post request.
Overrides:
handle in class PostableResource
 o initializeCVS
  public static synchronized void initializeCVS(httpd server)
Get a CVS directory manager for the given directory.
Parameters:
server - The server wanting to create the CVS directory manager.
url - The URL of the directory to examine.
dir - The directory to exmaine.

All Packages  Class Hierarchy  This Package  Previous  Next  Index