Class w3c.jigsaw.resources.PutableDirectory
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.resources.PutableDirectory

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.resources.DirectoryResource
                                                   |
                                                   +----w3c.jigsaw.resources.PutableDirectory

public class PutableDirectory
extends DirectoryResource
A Directoryresource that is able to create documents in reply to PUT.

Variable Index

 o ATTR_BROWSABLE
Attribute index - Allow the GNN browse method.

Constructor Index

 o PutableDirectory()

Method Index

 o browse(Request)
Handle the browse method.
 o createResource(String, Request)
Create new resource.
 o extended(Request)
We hanlde (in some cases) one extended method.
 o getBrowsableFlag()
Get this class browsable flag.
 o lookup(LookupState)
The lookup method creates resources on the fly...

Variables

 o ATTR_BROWSABLE
  protected static int ATTR_BROWSABLE
Attribute index - Allow the GNN browse method.

Constructors

 o PutableDirectory
  public PutableDirectory()

Methods

 o getBrowsableFlag
  public boolean getBrowsableFlag()
Get this class browsable flag.
 o createResource
  protected HTTPResource createResource(String name,
                                        Request request) throws HTTPException
Create new resource.
Parameters:
name - The identifier of the new resource.
request - The request that trigered this resource creation.
 o lookup
  public HTTPResource lookup(LookupState state) throws HTTPException
The lookup method creates resources on the fly... The funny thing here, is that you need to create the resource before handling the PUT, since it will determine how to handle it.
Parameters:
state - The current lookup state.
Overrides:
lookup in class DirectoryResource
 o browse
  public Reply browse(Request request) throws HTTPException
Handle the browse method.
Parameters:
request - The request to handle.
 o extended
  public Reply extended(Request request) throws HTTPException
We hanlde (in some cases) one extended method.
Parameters:
request - The request to handle.
Overrides:
extended in class HTTPResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index