All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.filters.PutFilter

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.ResourceFilter
                                           |
                                           +----org.w3c.jigsaw.filters.PutFilter

public class PutFilter
extends ResourceFilter

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(RequestInterface)
Nothing done in the ingoingFilter.
 o initialize(Object[])
Initialize the frames of that framed resource.
 o outgoingFilter(RequestInterface, ReplyInterface)
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 ResourceReference resolvePutListResource()
 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 ResourceFrame
 o ingoingFilter
 public ReplyInterface ingoingFilter(RequestInterface req)
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 ReplyInterface outgoingFilter(RequestInterface req,
                                      ReplyInterface rep)
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 frames of that framed resource.

Overrides:
initialize in class FramedResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index