    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

##

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

##

PutFilter()

##

getPutListURL()
  Get our companion PutListResource's URL.
ingoingFilter(RequestInterface)
  Nothing done in the ingoingFilter.
initialize(Object[])
  Initialize the frames of that framed resource.
outgoingFilter(RequestInterface, ReplyInterface)
  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 ResourceReference resolvePutListResource()

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 ResourceFrame

ingoingFilter

     public ReplyInterface ingoingFilter(RequestInterface 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 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

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