All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.filters.PutFilter

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.tools.store.ResourceFrame
                           |
                           +----w3c.jigsaw.resources.ResourceFilter
                                   |
                                   +----w3c.jigsaw.filters.PutFilter

public class PutFilter
extends ResourceFilter
implements ResourceLocker

Variable Index

 o ATTR_PUTLIST
Attribute index - The companion PutList resource's URL.

Constructor Index

 o PutFilter()

Method Index

 o getPutListURL()
Get our companion PutListResource's URL.
 o ingoingFilter(Request)
Nothing done in the ingoingFilter.
 o initialize(Object[])
Initialize the filter.
 o notifyResourceLockBreak(Resource)
Our lock on the companion PutList resource has been removed.
 o outgoingFilter(Request, Reply)
Catch successfull PUTs, and keep track of them.
 o resolvePutListResource()
 o setValue(int, Object)
Catch PUTLIST assignments.

Variables

 o ATTR_PUTLIST
 protected static int ATTR_PUTLIST
Attribute index - The companion PutList resource's URL.

Constructors

 o PutFilter
 public PutFilter()

Methods

 o resolvePutListResource
 protected synchronized PutListResource resolvePutListResource()
 o notifyResourceLockBreak
 public synchronized void notifyResourceLockBreak(Resource resource)
Our lock on the companion PutList resource has been removed. Clean up our pointer to it.

Parameters:
resource - The resource whose lock has been broken.
 o getPutListURL
 public String getPutListURL()
Get our companion PutListResource's URL.

Returns:
The URL encoded as a String, or null if undefined.
 o setValue
 public void setValue(int idx,
                      Object value)
Catch PUTLIST assignments.

Parameters:
idx - The attribute being updated.
value - It's new value.
Overrides:
setValue in class Resource
 o ingoingFilter
 public Reply ingoingFilter(Request request)
Nothing done in the ingoingFilter. We wait until the outgoigFilter.

Parameters:
request - The request that is about to be processsed.
Overrides:
ingoingFilter in class ResourceFilter
 o outgoingFilter
 public Reply outgoingFilter(Request request,
                             Reply reply)
Catch successfull PUTs, and keep track of them.

Parameters:
request - The original request.
reply - The original reply.
Returns:
Always null.
Overrides:
outgoingFilter in class ResourceFilter
 o initialize
 public void initialize(Object values[])
Initialize the filter.

Overrides:
initialize in class ResourceFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index