com.ibm.xdms.xcap
Interface XcapFilterChain


public interface XcapFilterChain

A XcapFilterChain is an object gives a view into the invocation chain of a filtered request for a resource. XcapFilters use the XcapFilterChain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the resource at the end of the chain.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void doDelete(XcapServerRequest request, XcapServerResponse response)
          Causes the next filter in the chain to be invoked on a DELETE request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
 void doGet(XcapServerRequest request, XcapServerResponse response)
          Causes the next filter in the chain to be invoked on a GET request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
 void doPost(XcapServerRequest request, XcapServerResponse response)
          Causes the next filter in the chain to be invoked on a POST request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
 void doPut(XcapServerRequest request, XcapServerResponse response)
          Causes the next filter in the chain to be invoked on a PUT request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
Method Detail

doGet

void doGet(XcapServerRequest request,
           XcapServerResponse response)
           throws java.io.IOException,
                  XdmsException
Causes the next filter in the chain to be invoked on a GET request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

Parameters:
request - the request to pass along the chain
response - the response to pass along the chain
Throws:
java.io.IOException
XdmsException

doDelete

void doDelete(XcapServerRequest request,
              XcapServerResponse response)
              throws java.io.IOException,
                     XdmsException
Causes the next filter in the chain to be invoked on a DELETE request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

Parameters:
request - the request to pass along the chain
response - the response to pass along the chain
Throws:
java.io.IOException
XdmsException

doPut

void doPut(XcapServerRequest request,
           XcapServerResponse response)
           throws java.io.IOException,
                  XdmsException
Causes the next filter in the chain to be invoked on a PUT request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

Parameters:
request - the request to pass along the chain
response - the response to pass along the chain
Throws:
java.io.IOException
XdmsException

doPost

void doPost(XcapServerRequest request,
            XcapServerResponse response)
            throws java.io.IOException,
                   XdmsException
Causes the next filter in the chain to be invoked on a POST request, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

Parameters:
request - the request to pass along the chain
response - the response to pass along the chain
Throws:
java.io.IOException
XdmsException