    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.cvs.ToolsListerFrame

    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.frames.PostableFrame
                                                               |
                                                               +----org.w3c.jigsaw.cvs.ToolsListerFrame

public class ToolsListerFrame
extends PostableFrame
implements StructureChangedListener

Emit the content of its parent directory.

##

ToolsListerFrame()

##

getDirectoryListing(Request)
  Get the directory listing.
getDirResourceRef()
getOtherResource(Request)
handle(Request, URLDecoder)
  Handle the form submission, after posted data parsing.
registerResource(FramedResource)
  Register this frame to the given resource.
resourceCreated(StructureChangedEvent)
  Unused here.
resourceModified(StructureChangedEvent)
  Unused here.
resourceRemoved(StructureChangedEvent)
  A resource is about to be removed This handles the `RESOURCE_REMOVED` kind of events.
resourceUnloaded(StructureChangedEvent)

##

ToolsListerFrame

     public ToolsListerFrame()

##

getDirResourceRef

     protected ResourceReference getDirResourceRef()

registerResource

     public void registerResource(FramedResource resource)

  Register this frame to the given resource.

  Overrides:
    registerResource in class HTTPFrame

resourceModified

     public void resourceModified(StructureChangedEvent evt)

  Unused here.

resourceCreated

     public void resourceCreated(StructureChangedEvent evt)

  Unused here.

resourceUnloaded

     public void resourceUnloaded(StructureChangedEvent evt)

resourceRemoved

     public void resourceRemoved(StructureChangedEvent evt)

  A resource is about to be removed This handles the `RESOURCE_REMOVED` kind of events.

  Parameters:
    evt - The event describing the change.

getDirectoryListing

     public synchronized Reply getDirectoryListing(Request request) throws ProtocolException, ResourceException

  Get the directory listing.

  Parameters:
    request - the incomming request.
  Throws: ProtocolException
    if a protocol error occurs
  Throws: ResourceException
    if a server error occurs
  Overrides:
    getDirectoryListing in class HTTPFrame

getOtherResource

     protected Reply getOtherResource(Request request) throws ProtocolException, ResourceException

  Throws: ProtocolException
    if a protocol error occurs
  Throws: ResourceException
    if a server error occurs
  Overrides:
    getOtherResource in class HTTPFrame

handle

     public Reply handle(Request request,
                         URLDecoder data) throws ProtocolException

  Handle the form submission, after posted data parsing.

  This method ought to be abstract, but for reasonable reason, it will just dump (parsed) the form content back to the client, so that it can be used for debugging.

  Parameters:
    request - The request proper.
    data - The parsed data content.
  Throws: ProtocolException
    If form data processing failed.
  Overrides:
    handle in class PostableFrame
  See Also:
    URLDecoder

    All Packages  Class Hierarchy  This Package  Previous  Next  Index