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
-
ATTR_PUTLIST
- Attribute index - The companion PutList resource's URL.
-
PutFilter()
-
-
getPutListURL()
- Get our companion PutListResource's URL.
-
ingoingFilter(Request)
- Nothing done in the ingoingFilter.
-
initialize(Object[])
- Initialize the filter.
-
notifyResourceLockBreak(Resource)
- Our lock on the companion PutList resource has been removed.
-
outgoingFilter(Request, Reply)
- Catch successfull PUTs, and keep track of them.
-
resolvePutListResource()
-
-
setValue(int, Object)
- Catch PUTLIST assignments.
ATTR_PUTLIST
protected static int ATTR_PUTLIST
- Attribute index - The companion PutList resource's URL.
PutFilter
public PutFilter()
resolvePutListResource
protected synchronized PutListResource resolvePutListResource()
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.
getPutListURL
public String getPutListURL()
- Get our companion PutListResource's URL.
- Returns:
- The URL encoded as a String, or null if
undefined.
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
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
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
initialize
public void initialize(Object values[])
- Initialize the filter.
- Overrides:
- initialize in class ResourceFilter
All Packages Class Hierarchy This Package Previous Next Index