org.skunk.dav.client.method
Class PropFindMethod

java.lang.Object
  |
  +--org.skunk.dav.client.AbstractDAVMethod
        |
        +--org.skunk.dav.client.method.PropFindMethod
All Implemented Interfaces:
DAVMethod

public class PropFindMethod
extends AbstractDAVMethod


Constructor Summary
PropFindMethod(java.lang.String url)
           
PropFindMethod(java.lang.String url, Depth depth, boolean allprop)
           
PropFindMethod(java.lang.String url, Depth depth, DAVProperty[] queryProps)
           
PropFindMethod(java.lang.String url, Depth depth, PropFindQueryType queryType, DAVProperty[] queryProps)
           
 
Method Summary
 Depth getDepth()
           
 PropFindQueryType getQueryType()
           
 DAVMethodName getRequestMethodName()
          returns the method name
protected  void processPropElement(DAVFile file, XMLElement elem)
          by default, passes the properties off to PropertyHandler
 void processRequestBody()
          a hook for processing the request body.
 void processRequestHeaders()
          a hook for processing the request headers.
 void processResponseHeaders()
          a hook for processing the response headers.
 
Methods inherited from class org.skunk.dav.client.AbstractDAVMethod
extractStatus, getDAVFile, getHost, getPort, getProtocol, getRequestBody, getRequestHeaders, getRequestURL, getResponseBody, getResponseHeaders, getStatus, processResponseBody, setHost, setPort, setProtocol, setRequestBody, setRequestHeaders, setResponseBody, setResponseHeaders, setStatus, stripLastSlash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropFindMethod

public PropFindMethod(java.lang.String url)

PropFindMethod

public PropFindMethod(java.lang.String url,
                      Depth depth,
                      boolean allprop)

PropFindMethod

public PropFindMethod(java.lang.String url,
                      Depth depth,
                      PropFindQueryType queryType,
                      DAVProperty[] queryProps)

PropFindMethod

public PropFindMethod(java.lang.String url,
                      Depth depth,
                      DAVProperty[] queryProps)
Method Detail

getQueryType

public PropFindQueryType getQueryType()

getDepth

public Depth getDepth()

processRequestHeaders

public void processRequestHeaders()
Description copied from class: AbstractDAVMethod
a hook for processing the request headers. By default does nothing.
Overrides:
processRequestHeaders in class AbstractDAVMethod

processRequestBody

public void processRequestBody()
Description copied from class: AbstractDAVMethod
a hook for processing the request body. By default does nothing.
Overrides:
processRequestBody in class AbstractDAVMethod

processResponseHeaders

public void processResponseHeaders()
Description copied from class: AbstractDAVMethod
a hook for processing the response headers. By default does nothing.
Overrides:
processResponseHeaders in class AbstractDAVMethod

processPropElement

protected void processPropElement(DAVFile file,
                                  XMLElement elem)
by default, passes the properties off to PropertyHandler
Overrides:
processPropElement in class AbstractDAVMethod
Following copied from class: org.skunk.dav.client.AbstractDAVMethod
Parameters:
file - the DAVFile in which the results are stored
elem - the prop XMLElement being processed

getRequestMethodName

public DAVMethodName getRequestMethodName()
Description copied from interface: DAVMethod
returns the method name
Following copied from interface: org.skunk.dav.client.DAVMethod
Returns:
the DAVMethodName of the method